C++: Exclude results in macro expansions from 'cpp/compare-where-assign-meant'.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-08-25 16:39:47 +01:00
parent 759f939edd
commit cb2f7b0f95

View File

@@ -16,6 +16,7 @@ import cpp
from ExprInVoidContext op
where
not op.isUnevaluated() and
not inMacroExpansion(op) and
(
op instanceof EQExpr
or