9 #include <nlohmann/json.hpp>
50 void init (std::string file);
52 std::set<std::string> system_includes;
nlohmann::json json
Definition: ASTFilter.hpp:11
Keep track of what is a system header by pulling system include directories from clang -### <file
Definition: ASTFilter.hpp:19
SourceManager(std::string file)
Construct a new Source Manager object.
Definition: ASTFilter.cpp:4
bool isSystem(std::string file)
Determine whether a given full file path is a system header or not.
Definition: ASTFilter.cpp:8
void print()
Print out the system header directories.
Definition: ASTFilter.cpp:20
Definition: ASTFilter.hpp:13
void filter_ast(json &full_ast, SourceManager &source_manager)
Definition: ASTFilter.cpp:89
json generateFilteredAST(std::string file)
Definition: ASTFilter.cpp:58
json generateFullAST(std::string file)
Definition: ASTFilter.cpp:66