mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
C++: Exclude results in macro expansions from 'cpp/compare-where-assign-meant'.
This commit is contained in:
@@ -16,6 +16,7 @@ import cpp
|
||||
from ExprInVoidContext op
|
||||
where
|
||||
not op.isUnevaluated() and
|
||||
not inMacroExpansion(op) and
|
||||
(
|
||||
op instanceof EQExpr
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user