9 #ifndef LLVM_CLANG_INDEX_DECLOCCURRENCE_H 10 #define LLVM_CLANG_INDEX_DECLOCCURRENCE_H 14 #include "llvm/ADT/ArrayRef.h" 15 #include "llvm/ADT/SmallVector.h" 30 : Roles(R), Offset(Offset), Dcl(D),
31 Relations(Relations.begin(), Relations.end()) {}
41 #endif // LLVM_CLANG_INDEX_DECLOCCURRENCE_H Decl - This represents one declaration (or definition), e.g.
The l-value was an access to a declared entity or something equivalently strong, like the address of ...
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
friend bool operator<(const DeclOccurrence &LHS, const DeclOccurrence &RHS)
SmallVector< SymbolRelation, 3 > Relations
Dataflow Directional Tag Classes.
DeclOccurrence(SymbolRoleSet R, unsigned Offset, const Decl *D, ArrayRef< SymbolRelation > Relations)