clang-tools
9.0.0
|
#include <Symbol.h>
Public Member Functions | |
IncludeHeaderWithReferences ()=default | |
IncludeHeaderWithReferences (llvm::StringRef IncludeHeader, unsigned References) | |
Public Attributes | |
llvm::StringRef | IncludeHeader = "" |
This can be either a URI of the header to be #include'd for this symbol, or a literal header quoted with <> or "" that is suitable to be included directly. More... | |
unsigned | References = 0 |
The number of translation units that reference this symbol and include this header. More... | |
|
default |
|
inline |
llvm::StringRef clang::clangd::Symbol::IncludeHeaderWithReferences::IncludeHeader = "" |
This can be either a URI of the header to be #include'd for this symbol, or a literal header quoted with <> or "" that is suitable to be included directly.
When it is a URI, the exact #include path needs to be calculated according to the URI scheme.
Note that the include header is a canonical include for the symbol and can be different from FileURI in the CanonicalDeclaration.
Definition at line 101 of file Symbol.h.
Referenced by llvm::yaml::MappingTraits< clang::clangd::Symbol::IncludeHeaderWithReferences >::mapping().
unsigned clang::clangd::Symbol::IncludeHeaderWithReferences::References = 0 |
The number of translation units that reference this symbol and include this header.
This number is only meaningful if aggregated in an index.
Definition at line 104 of file Symbol.h.
Referenced by llvm::yaml::MappingTraits< clang::clangd::Symbol::IncludeHeaderWithReferences >::mapping().