clang 20.0.0git
|
#include "clang/Index/DeclOccurrence.h"
Public Member Functions | |
DeclOccurrence (SymbolRoleSet R, unsigned Offset, const Decl *D, ArrayRef< SymbolRelation > Relations) | |
DeclOccurrence (SymbolRoleSet R, unsigned Offset, const IdentifierInfo *Name, const MacroInfo *MI) | |
Public Attributes | |
SymbolRoleSet | Roles |
unsigned | Offset |
llvm::PointerUnion< const Decl *, const MacroInfo * > | DeclOrMacro |
const IdentifierInfo * | MacroName = nullptr |
SmallVector< SymbolRelation, 3 > | Relations |
Friends | |
bool | operator< (const DeclOccurrence &LHS, const DeclOccurrence &RHS) |
Definition at line 23 of file DeclOccurrence.h.
|
inline |
Definition at line 30 of file DeclOccurrence.h.
|
inline |
Definition at line 33 of file DeclOccurrence.h.
|
friend |
Definition at line 37 of file DeclOccurrence.h.
Definition at line 26 of file DeclOccurrence.h.
const IdentifierInfo* clang::index::DeclOccurrence::MacroName = nullptr |
Definition at line 27 of file DeclOccurrence.h.
unsigned clang::index::DeclOccurrence::Offset |
Definition at line 25 of file DeclOccurrence.h.
Referenced by clang::index::FileIndexRecord::getDeclOccurrencesSortedByOffset().
SmallVector<SymbolRelation, 3> clang::index::DeclOccurrence::Relations |
Definition at line 28 of file DeclOccurrence.h.
SymbolRoleSet clang::index::DeclOccurrence::Roles |
Definition at line 24 of file DeclOccurrence.h.