C++: Do not generate loads for ParenthesisExprs

This commit is contained in:
Jeroen Ketema
2023-07-20 22:37:32 +02:00
parent 4339e18ed6
commit c60cb136bb

View File

@@ -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