5 #define PRINT_SKIPPED_EXPORT_REASONS false 10 class ClassHandler :
public ast_matchers::MatchFinder::MatchCallback {
12 SourceManager & source_manager;
15 std::set<std::string> names_used;
19 CompilerInstance &
ci;
24 virtual void run(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
29 source_manager(CI.getSourceManager())
41 bool top_level =
true,
virtual void onEndOfTranslationUnit() override
ClassHandler(CompilerInstance &CI)
virtual void run(const ast_matchers::MatchFinder::MatchResult &Result) override
std::string handle_data_member(WrappedClass &containing_class, FieldDecl *field, const std::string &indentation)
void handle_class(WrappedClass &wrapped_class, bool top_level=true, const std::string &indentation="")