[ClavaAst] Adapts DeclRefExpr to new method in TemplateArgument
@@ -17,7 +17,6 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
-import java.util.stream.Collectors;
import org.suikasoft.jOptions.Datakey.DataKey;
import org.suikasoft.jOptions.Datakey.KeyFactory;
@@ -167,6 +166,9 @@ public class DeclRefExpr extends Expr implements Nameable {
// return refName.substring("operator".length());
// }
+ String refNameSuffix = TemplateArgument.getCode(get(TEMPLATE_ARGUMENTS), this);
+
+ /*
String refNameSuffix = "";
// Check if it has template arguments
@@ -178,6 +180,7 @@ public class DeclRefExpr extends Expr implements Nameable {
refNameSuffix = "<" + templateArgs + ">";
}
+ */
String qualifier = get(QUALIFIER);
String refnamePrefix = qualifier == null ? "" : qualifier;
