mirror of
https://github.com/github/codeql.git
synced 2026-04-19 22:14:01 +02:00
C++: Do not generate loads for ParenthesisExprs
This commit is contained in:
@@ -361,6 +361,8 @@ predicate ignoreLoad(Expr expr) {
|
||||
or
|
||||
expr instanceof FunctionAccess
|
||||
or
|
||||
expr instanceof ParenthesisExpr
|
||||
or
|
||||
expr.(PointerDereferenceExpr).getOperand().getFullyConverted().getType().getUnspecifiedType()
|
||||
instanceof FunctionPointerType
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user