aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bruiser/bruiser.cpp26
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;
};
/**********************************************************************************************************************/