Skip to content

Commit a1740e7

Browse files
committed
Add bitwise-shift-left-assignment operator
1 parent d15b6db commit a1740e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/common/src/codingstandards/cpp/Operator.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class AssignmentOperator extends MemberFunction {
124124
// operator op, where op is =, +=, -=, *=, /=, %=, ^=, &=, |=, >>=
125125
exists(string op |
126126
"operator" + op = this.getName() and
127-
op in ["=", "+=", "-=", "*=", "/=", "%=", "^=", "&=", "|=", ">>="]
127+
op in ["=", "+=", "-=", "*=", "/=", "%=", "^=", "&=", "|=", ">>=", "<<="]
128128
)
129129
}
130130
}

0 commit comments

Comments
 (0)