Skip to content

Commit 95d048a

Browse files
committed
C++: Disable the workaround for bitwise operations since the underlying bug has been fixed.
1 parent f0ffd4d commit 95d048a

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

cpp/common/src/codingstandards/cpp/Bitwise.qll

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@
55
private import cpp as cpp
66

77
module Bitwise {
8-
/**
9-
* A binary bitwise assign operation, excluding += and -= on pointers, which seem to be erroneously
10-
* included.
11-
*/
12-
class AssignBitwiseOperation extends cpp::AssignBitwiseOperation {
13-
AssignBitwiseOperation() {
14-
// exclude += and -= on pointers, which seem to be erroneously included
15-
// in the database schema
16-
not this instanceof cpp::AssignPointerAddExpr and
17-
not this instanceof cpp::AssignPointerSubExpr
18-
}
19-
}
8+
/** A binary bitwise assign operation. */
9+
class AssignBitwiseOperation extends cpp::AssignBitwiseOperation { }
2010
}

0 commit comments

Comments
 (0)