[ClavaWeaver] Disables def of $unaryExprOrType.argType
@@ -15,7 +15,6 @@ package pt.up.fe.specs.clava.weaver.joinpoints;
import pt.up.fe.specs.clava.ClavaNode;
import pt.up.fe.specs.clava.ast.expr.UnaryExprOrTypeTraitExpr;
-import pt.up.fe.specs.clava.ast.type.Type;
import pt.up.fe.specs.clava.weaver.CxxJoinpoints;
import pt.up.fe.specs.clava.weaver.abstracts.ACxxWeaverJoinPoint;
import pt.up.fe.specs.clava.weaver.abstracts.joinpoints.AExpression;
@@ -75,12 +74,14 @@ public class CxxUnaryExprOrType extends AUnaryExprOrType {
@Override
public void defArgTypeImpl(AType value) {
- if (!expr.hasTypeExpression()) {
- SpecsLogs.msgInfo("UnaryExprOrType '" + expr.getUettKind() + "' does not have a type argument");
+ SpecsLogs.msgInfo("Setting the argument type of an UnaryExprOrType is currently disabled");
return;
- }
-
- expr.setArgType((Type) value.getNode());
+ // if (!expr.hasTypeExpression()) {
+ // SpecsLogs.msgInfo("UnaryExprOrType '" + expr.getUettKind() + "' does not have a type argument");
+ // return;
+ // }
+ //
+ // expr.setArgType((Type) value.getNode());
}
@Override
