clang 20.0.0git
|
#include "clang/Tooling/Inclusions/StandardLibrary.h"
Public Member Functions | |
llvm::StringRef | scope () const |
llvm::StringRef | name () const |
llvm::StringRef | qualifiedName () const |
std::optional< Header > | header () const |
llvm::SmallVector< Header > | headers () const |
Static Public Member Functions | |
static std::vector< Symbol > | all (Lang L=Lang::CXX) |
static std::optional< Symbol > | named (llvm::StringRef Scope, llvm::StringRef Name, Lang Language=Lang::CXX) |
Scope should have the trailing "::", for example: named("std::chrono::", "system_clock") | |
Friends | |
class | Recognizer |
llvm::raw_ostream & | operator<< (llvm::raw_ostream &OS, const Symbol &S) |
bool | operator== (const Symbol &L, const Symbol &R) |
Definition at line 69 of file StandardLibrary.h.
Definition at line 208 of file StandardLibrary.cpp.
References E, clang::tooling::stdlib::ensureInitialized(), clang::tooling::stdlib::getMappingPerLang(), and clang::Result.
std::optional< Header > clang::tooling::stdlib::Symbol::header | ( | ) | const |
Definition at line 238 of file StandardLibrary.cpp.
References clang::tooling::stdlib::getMappingPerLang().
llvm::SmallVector< Header > clang::tooling::stdlib::Symbol::headers | ( | ) | const |
Definition at line 244 of file StandardLibrary.cpp.
References clang::tooling::stdlib::getMappingPerLang(), and SymbolHeaderIDs.
llvm::StringRef clang::tooling::stdlib::Symbol::name | ( | ) | const |
Definition at line 220 of file StandardLibrary.cpp.
References clang::tooling::stdlib::getMappingPerLang().
|
static |
Scope
should have the trailing "::", for example: named("std::chrono::", "system_clock")
Definition at line 226 of file StandardLibrary.cpp.
References clang::tooling::stdlib::ensureInitialized(), clang::tooling::stdlib::getMappingPerLang(), and NamespaceSymbols.
llvm::StringRef clang::tooling::stdlib::Symbol::qualifiedName | ( | ) | const |
Definition at line 223 of file StandardLibrary.cpp.
References clang::tooling::stdlib::getMappingPerLang().
llvm::StringRef clang::tooling::stdlib::Symbol::scope | ( | ) | const |
Definition at line 217 of file StandardLibrary.cpp.
References clang::tooling::stdlib::getMappingPerLang().
|
friend |
Definition at line 77 of file StandardLibrary.h.
Definition at line 95 of file StandardLibrary.h.
|
friend |
Definition at line 93 of file StandardLibrary.h.