clang-tools 20.0.0git
|
#include <Symbol.h>
Public Member Functions | |
IncludeHeaderWithReferences ()=default | |
IncludeHeaderWithReferences (llvm::StringRef IncludeHeader, uint32_t References, IncludeDirective SupportedDirectives) | |
IncludeDirective | supportedDirectives () const |
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. | |
uint32_t | References: 30 |
The number of translation units that reference this symbol and include this header. | |
uint32_t | SupportedDirectives: 2 |
Bitfield of supported directives (IncludeDirective) that can be used when including this header. | |
|
default |
|
inline |
|
inline |
Definition at line 124 of file Symbol.h.
References SupportedDirectives.
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 116 of file Symbol.h.
Referenced by clang::clangd::getRankedIncludes().
uint32_t clang::clangd::Symbol::IncludeHeaderWithReferences::References |
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 119 of file Symbol.h.
Referenced by clang::clangd::getRankedIncludes().
uint32_t clang::clangd::Symbol::IncludeHeaderWithReferences::SupportedDirectives |
Bitfield of supported directives (IncludeDirective) that can be used when including this header.
Definition at line 122 of file Symbol.h.
Referenced by supportedDirectives().