Skip to content

Commit

Permalink
C++: Disable the workaround for bitwise operations since the underlyi…
Browse files Browse the repository at this point in the history
…ng bug has been fixed.
  • Loading branch information
MathiasVP committed Nov 28, 2023
1 parent f0ffd4d commit 95d048a
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions cpp/common/src/codingstandards/cpp/Bitwise.qll
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@
private import cpp as cpp

module Bitwise {
/**
* A binary bitwise assign operation, excluding += and -= on pointers, which seem to be erroneously
* included.
*/
class AssignBitwiseOperation extends cpp::AssignBitwiseOperation {
AssignBitwiseOperation() {
// exclude += and -= on pointers, which seem to be erroneously included
// in the database schema
not this instanceof cpp::AssignPointerAddExpr and
not this instanceof cpp::AssignPointerSubExpr
}
}
/** A binary bitwise assign operation. */
class AssignBitwiseOperation extends cpp::AssignBitwiseOperation { }
}

0 comments on commit 95d048a

Please sign in to comment.