mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01: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