1 #ifndef INCLUDED_CLANGMETATOOL_COLLECTORS_VARIABLE_REFS_DATA_H 2 #define INCLUDED_CLANGMETATOOL_COLLECTORS_VARIABLE_REFS_DATA_H 4 #include <clang/AST/DeclBase.h> 5 #include <clang/AST/Expr.h> 6 #include <clang/AST/TypeLoc.h> 7 #include <clang/ASTMatchers/ASTMatchFinder.h> 8 #include <clang/Basic/FileManager.h> 9 #include <clang/Basic/SourceLocation.h> 10 #include <clang/Frontend/CompilerInstance.h> 23 namespace collectors {
33 std::multimap<const clang::VarDecl *, const clang::DeclRefExpr *>
refs;
52 std::map<const clang::DeclRefExpr *, const clang::Expr *>