We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dafa16 commit ff96e3aCopy full SHA for ff96e3a
cpp/ql/src/Likely Bugs/Likely Typos/ExprHasNoEffect.ql
@@ -86,6 +86,7 @@ where
86
not peivc.isFromTemplateInstantiation(_) and
87
parent = peivc.getParent() and
88
not parent.isInMacroExpansion() and
89
+ not peivc.isUnevaluated() and
90
not parent instanceof PureExprInVoidContext and
91
not peivc.getEnclosingFunction().isCompilerGenerated() and
92
not peivc.getType() instanceof UnknownType and
0 commit comments