aboutsummaryrefslogtreecommitdiffstats
path: root/mutator-lvl0.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-01-15 14:33:13 +0000
committerbloodstalker <thabogre@gmail.com>2017-01-15 14:33:13 +0000
commit02386279fbf904e08853c5abdd0704b696ec3968 (patch)
treeca3e080a2b99c74b618c0364190389f319df107c /mutator-lvl0.cpp
parentupdated 1/15/2017 (diff)
downloadmutator-02386279fbf904e08853c5abdd0704b696ec3968.tar.gz
mutator-02386279fbf904e08853c5abdd0704b696ec3968.zip
clang libraries version 3.9 dont support our 8.8 matcher. if you are using version 4.0 libraries, just change the if directive to 1 for the addmatcher in MyASTConsumer.
Diffstat (limited to 'mutator-lvl0.cpp')
-rw-r--r--mutator-lvl0.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mutator-lvl0.cpp b/mutator-lvl0.cpp
index b5b90a6..4f6a610 100644
--- a/mutator-lvl0.cpp
+++ b/mutator-lvl0.cpp
@@ -6478,9 +6478,11 @@ public:
Matcher.addMatcher(declRefExpr(allOf(hasAncestor(functionDecl().bind("mcdcdf87daddy")), \
to(varDecl(unless(hasAncestor(functionDecl()))).bind("mcdcdf87origin")))).bind("mcdcdfobj"), &HandlerForDCDF87);
+#if 0
Matcher.addMatcher(functionDecl(hasExternalFormalLinkage()).bind("mcdcdf88function"), &HandlerForDCDF88);
Matcher.addMatcher(varDecl(hasExternalFormalLinkage()).bind("mcdcdf88var"), &HandlerForDCDF88);
+#endif
Matcher.addMatcher(expr().bind("mclangx23"), &HandlerForLangX23);