diff options
author | bloodstalker <thabogre@gmail.com> | 2017-05-12 12:09:19 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-05-12 12:09:19 +0000 |
commit | b2c231dc9615b79cb31748c712dee9bf3d115e75 (patch) | |
tree | f8c12fbd765475607ffdca7ac2f91a73ae92d68f /bruiser | |
parent | added support for the case when a function argument expression is the (diff) | |
download | mutator-b2c231dc9615b79cb31748c712dee9bf3d115e75.tar.gz mutator-b2c231dc9615b79cb31748c712dee9bf3d115e75.zip |
fixes and some changes
Diffstat (limited to 'bruiser')
-rw-r--r-- | bruiser/bruiser.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/bruiser/bruiser.cpp b/bruiser/bruiser.cpp index ecde8a0..901a48b 100644 --- a/bruiser/bruiser.cpp +++ b/bruiser/bruiser.cpp @@ -377,6 +377,19 @@ private: Rewriter R; }; /**********************************************************************************************************************/ +class LiveConsumerFactory +{ + public: + LiveConsumerFactory() {} + + template<typename T> + void operator()(T __consumer) + { + + } + +}; +/**********************************************************************************************************************/ class LiveConsumer : public ASTConsumer { public: @@ -385,18 +398,6 @@ class LiveConsumer : public ASTConsumer void HandleTranslationUnit(ASTContext &ctx) override { - Matcher.addMatcher(varDecl().bind("livelistvars"), &HLLVars); - - Matcher.addMatcher(functionDecl().bind("livelistfuncs"), &HLLFuncs); - - Matcher.addMatcher(recordDecl().bind("livelistrecords"), &HLLRecords); - - Matcher.addMatcher(recordDecl(isClass()).bind("livelistrecords"), &HLLRecords); - - Matcher.addMatcher(recordDecl(isUnion()).bind("livelistrecords"), &HLLRecords); - - Matcher.addMatcher(recordDecl(isStruct()).bind("livelistrecords"), &HLLRecords); - Matcher.matchAST(ctx); } @@ -405,7 +406,6 @@ class LiveConsumer : public ASTConsumer LiveListVars HLLVars; LiveListFuncs HLLFuncs; LiveListRecords HLLRecords; - std::string __who; Rewriter R; }; /**********************************************************************************************************************/ |