clang-metatool
A framework for reusing code in clang tools
|
#include <clangmetatool/collectors/include_graph_data.h>
Public Attributes | |
clangmetatool::types::FileAttributeMap< std::string > | fuid2name |
clangmetatool::types::FileAttributeMap< const clang::FileEntry * > | fuid2entry |
clangmetatool::types::FileAttributeMap< bool > | is_system |
clangmetatool::types::FileAttributeMap< clangmetatool::types::FileUID > | include_next |
clangmetatool::types::FileAttributeMap< clang::SourceLocation > | last_include |
clangmetatool::types::FileGraph | include_graph |
clangmetatool::types::FileGraphEdgeMultimap< clang::SourceRange > | include_statements |
clangmetatool::types::FileGraph | use_graph |
clangmetatool::types::FileGraphEdgeMultimap< clangmetatool::types::MacroReferenceInfo > | macro_references |
clangmetatool::types::FileGraphEdgeMultimap< const clang::Decl * > | redeclarations |
clangmetatool::types::FileGraphEdgeMultimap< const clang::DeclRefExpr * > | decl_references |
clangmetatool::types::FileGraphEdgeMultimap< const clang::TypeLoc * > | type_references |
The data collected by the IncludeGraph collector
Definition at line 28 of file include_graph_data.h.
clangmetatool::types::FileGraphEdgeMultimap<const clang::DeclRefExpr *> clangmetatool::collectors::IncludeGraphData::decl_references |
file uid A references something declared in B
Definition at line 91 of file include_graph_data.h.
clangmetatool::types::FileAttributeMap<const clang::FileEntry *> clangmetatool::collectors::IncludeGraphData::fuid2entry |
Translate file uid to the FileEntry pointer.
Definition at line 38 of file include_graph_data.h.
clangmetatool::types::FileAttributeMap<std::string> clangmetatool::collectors::IncludeGraphData::fuid2name |
Translate file uid to name (as used in the include statement)
Definition at line 33 of file include_graph_data.h.
clangmetatool::types::FileGraph clangmetatool::collectors::IncludeGraphData::include_graph |
file uid A includes file uid B
Definition at line 61 of file include_graph_data.h.
clangmetatool::types::FileAttributeMap<clangmetatool::types::FileUID> clangmetatool::collectors::IncludeGraphData::include_next |
Captures "include next" statements, since they are addressed by the same "name"
Definition at line 50 of file include_graph_data.h.
clangmetatool::types::FileGraphEdgeMultimap<clang::SourceRange> clangmetatool::collectors::IncludeGraphData::include_statements |
Where are the include statements
Definition at line 67 of file include_graph_data.h.
clangmetatool::types::FileAttributeMap<bool> clangmetatool::collectors::IncludeGraphData::is_system |
Does the given file uid belong to a system header?
Definition at line 43 of file include_graph_data.h.
clangmetatool::types::FileAttributeMap<clang::SourceLocation> clangmetatool::collectors::IncludeGraphData::last_include |
The location of the last include statement on the file (by file uid).
Definition at line 56 of file include_graph_data.h.
clangmetatool::types::FileGraphEdgeMultimap< clangmetatool::types::MacroReferenceInfo> clangmetatool::collectors::IncludeGraphData::macro_references |
file uid A references macro defined in B
Definition at line 79 of file include_graph_data.h.
clangmetatool::types::FileGraphEdgeMultimap<const clang::Decl *> clangmetatool::collectors::IncludeGraphData::redeclarations |
file uid A declares something canonically declared in B
Definition at line 85 of file include_graph_data.h.
clangmetatool::types::FileGraphEdgeMultimap<const clang::TypeLoc *> clangmetatool::collectors::IncludeGraphData::type_references |
file uid A references a type declared in B
Definition at line 97 of file include_graph_data.h.
clangmetatool::types::FileGraph clangmetatool::collectors::IncludeGraphData::use_graph |
file uid A uses file uid B
Definition at line 72 of file include_graph_data.h.