[ClangAstParser] Disables post parsing rule MoveImplicitCasts
@@ -27,8 +27,9 @@ import com.google.common.base.Preconditions;
import pt.up.fe.specs.clang.parsers.ClangParserData;
import pt.up.fe.specs.clang.parsers.ClavaNodes;
import pt.up.fe.specs.clang.transforms.CreateDeclStmts;
+import pt.up.fe.specs.clang.transforms.DeleteTemplateSpecializations;
import pt.up.fe.specs.clang.transforms.DenanonymizeDecls;
-import pt.up.fe.specs.clang.transforms.MoveImplicitCasts;
+import pt.up.fe.specs.clang.transforms.RemoveExtraNodes;
import pt.up.fe.specs.clang.transforms.TreeTransformer;
import pt.up.fe.specs.clava.ClavaNode;
import pt.up.fe.specs.clava.ClavaRule;
@@ -55,10 +56,10 @@ public class ClangStreamParser {
private final static Collection<ClavaRule> POST_PARSING_RULES = Arrays.asList(
new DenanonymizeDecls(),
- // new DeleteTemplateSpecializations(),
- // new RemoveExtraNodes(),
+ new DeleteTemplateSpecializations(),
+ new RemoveExtraNodes(),
// new RemoveClangComments(),
- new CreateDeclStmts(),
+ new CreateDeclStmts()
// new AdaptBoolTypes(),
// new AdaptBoolCasts(),
// new RemoveBoolOperatorCalls(),
@@ -66,7 +67,8 @@ public class ClangStreamParser {
// new RemoveDefaultInitializers(),
// new RemoveImplicitConstructors(),
// new RecoverStdMacros(),
- new MoveImplicitCasts());
+ // new MoveImplicitCasts()
+ );
private final ClangParserData data;
