diff options
author | bloodstalker <thabogre@gmail.com> | 2017-01-15 14:33:13 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-01-15 14:33:13 +0000 |
commit | 02386279fbf904e08853c5abdd0704b696ec3968 (patch) | |
tree | ca3e080a2b99c74b618c0364190389f319df107c /mutator-lvl0.cpp | |
parent | updated 1/15/2017 (diff) | |
download | mutator-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.cpp | 2 |
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); |