[ClavaWeaver] Adds mapping between Clava node ParenExpr and join point
@@ -57,6 +57,7 @@ import pt.up.fe.specs.clava.ast.expr.IntegerLiteral;
import pt.up.fe.specs.clava.ast.expr.Literal;
import pt.up.fe.specs.clava.ast.expr.MemberExpr;
import pt.up.fe.specs.clava.ast.expr.NullExpr;
+import pt.up.fe.specs.clava.ast.expr.ParenExpr;
import pt.up.fe.specs.clava.ast.expr.UnaryExprOrTypeTraitExpr;
import pt.up.fe.specs.clava.ast.expr.UnaryOperator;
import pt.up.fe.specs.clava.ast.extra.App;
@@ -141,6 +142,7 @@ import pt.up.fe.specs.clava.weaver.joinpoints.CxxNamedDecl;
import pt.up.fe.specs.clava.weaver.joinpoints.CxxNewExpr;
import pt.up.fe.specs.clava.weaver.joinpoints.CxxOmp;
import pt.up.fe.specs.clava.weaver.joinpoints.CxxParam;
+import pt.up.fe.specs.clava.weaver.joinpoints.CxxParenExpr;
import pt.up.fe.specs.clava.weaver.joinpoints.CxxPragma;
import pt.up.fe.specs.clava.weaver.joinpoints.CxxProgram;
import pt.up.fe.specs.clava.weaver.joinpoints.CxxReturnStmt;
@@ -210,6 +212,7 @@ public class CxxJoinpoints {
JOINPOINT_FACTORY.put(FloatingLiteral.class, CxxFloatLiteral::new);
JOINPOINT_FACTORY.put(CXXBoolLiteralExpr.class, CxxBoolLiteral::new);
JOINPOINT_FACTORY.put(Literal.class, CxxLiteral::new);
+ JOINPOINT_FACTORY.put(ParenExpr.class, CxxParenExpr::new);
JOINPOINT_FACTORY.put(Expr.class, CxxExpression::new);
JOINPOINT_FACTORY.put(IfStmt.class, CxxIf::new);
JOINPOINT_FACTORY.put(LoopStmt.class, CxxLoop::new);
