clang-tools 20.0.0git
|
A context for a file being processed. More...
#include <IncludeFixerContext.h>
Classes | |
struct | HeaderInfo |
struct | QuerySymbolInfo |
Public Member Functions | |
IncludeFixerContext ()=default | |
IncludeFixerContext (StringRef FilePath, std::vector< QuerySymbolInfo > QuerySymbols, std::vector< find_all_symbols::SymbolInfo > Symbols) | |
llvm::StringRef | getSymbolIdentifier () const |
Get symbol name. | |
tooling::Range | getSymbolRange () const |
Get replacement range of the symbol. | |
StringRef | getFilePath () const |
Get the file path to the file being processed. | |
const std::vector< HeaderInfo > & | getHeaderInfos () const |
Get header information. | |
const std::vector< QuerySymbolInfo > & | getQuerySymbolInfos () const |
Get information of symbols being querid. | |
Friends | |
struct | llvm::yaml::MappingTraits< IncludeFixerContext > |
A context for a file being processed.
It includes all query information, e.g. symbols being queried in database, all header candidates.
Definition at line 22 of file IncludeFixerContext.h.
|
default |
clang::include_fixer::IncludeFixerContext::IncludeFixerContext | ( | StringRef | FilePath, |
std::vector< QuerySymbolInfo > | QuerySymbols, | ||
std::vector< find_all_symbols::SymbolInfo > | Symbols | ||
) |
Definition at line 77 of file IncludeFixerContext.cpp.
|
inline |
Get the file path to the file being processed.
Definition at line 64 of file IncludeFixerContext.h.
|
inline |
Get header information.
Definition at line 67 of file IncludeFixerContext.h.
|
inline |
Get information of symbols being querid.
Definition at line 70 of file IncludeFixerContext.h.
|
inline |
Get symbol name.
Definition at line 54 of file IncludeFixerContext.h.
|
inline |
Get replacement range of the symbol.
Definition at line 59 of file IncludeFixerContext.h.
|
friend |
Definition at line 70 of file IncludeFixerContext.h.