|
clang 22.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.
References DeclOrMacro, Offset, Relations, and Roles.
Referenced by operator<.
|
inline |
Definition at line 33 of file DeclOccurrence.h.
References DeclOrMacro, MacroName, Offset, and Roles.
|
friend |
Definition at line 37 of file DeclOccurrence.h.
References DeclOccurrence(), and Offset.
Definition at line 26 of file DeclOccurrence.h.
Referenced by DeclOccurrence(), DeclOccurrence(), and clang::index::FileIndexRecord::removeHeaderGuardMacros().
| const IdentifierInfo* clang::index::DeclOccurrence::MacroName = nullptr |
Definition at line 27 of file DeclOccurrence.h.
Referenced by DeclOccurrence().
| unsigned clang::index::DeclOccurrence::Offset |
Definition at line 25 of file DeclOccurrence.h.
Referenced by DeclOccurrence(), DeclOccurrence(), clang::index::FileIndexRecord::getDeclOccurrencesSortedByOffset(), and operator<.
| SmallVector<SymbolRelation, 3> clang::index::DeclOccurrence::Relations |
Definition at line 28 of file DeclOccurrence.h.
Referenced by DeclOccurrence().
| SymbolRoleSet clang::index::DeclOccurrence::Roles |
Definition at line 24 of file DeclOccurrence.h.
Referenced by DeclOccurrence(), and DeclOccurrence().