10 #ifndef LLVM_CLANG_INDEX_INDEXSYMBOL_H
11 #define LLVM_CLANG_INDEX_INDEXSYMBOL_H
14 #include "llvm/ADT/STLExtras.h"
15 #include "llvm/Support/DataTypes.h"
StringRef getSymbolLanguageString(SymbolLanguage K)
Represents a relation to another symbol for a symbol occurrence.
bool printSymbolName(const Decl *D, const LangOptions &LO, raw_ostream &OS)
SymbolRole
Set of roles that are attributed to symbol occurrences.
StringRef getSymbolKindString(SymbolKind K)
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
static const unsigned SymbolRoleBitNum
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
void printSymbolSubKinds(SymbolSubKindSet SubKinds, raw_ostream &OS)
void applyForEachSymbolRole(SymbolRoleSet Roles, llvm::function_ref< void(SymbolRole)> Fn)
unsigned SymbolSubKindSet
SymbolSubKindSet SubKinds
SymbolRelation(SymbolRoleSet Roles, const Decl *Sym)
void printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS)
SymbolInfo getSymbolInfo(const Decl *D)
const Decl * RelatedSymbol
void applyForEachSymbolSubKind(SymbolSubKindSet SubKinds, llvm::function_ref< void(SymbolSubKind)> Fn)
static const unsigned SymbolSubKindBitNum