9 #ifndef LLVM_CLANG_LIB_INDEX_FILEINDEXRECORD_H 10 #define LLVM_CLANG_LIB_INDEX_FILEINDEXRECORD_H 15 #include "llvm/ADT/ArrayRef.h" 16 #include "llvm/ADT/SmallVector.h" 30 std::vector<DeclOccurrence> Decls;
51 void print(llvm::raw_ostream &OS)
const;
57 #endif // LLVM_CLANG_LIB_INDEX_FILEINDEXRECORD_H Decl - This represents one declaration (or definition), e.g.
ArrayRef< DeclOccurrence > getDeclOccurrencesSortedByOffset() const
void print(llvm::raw_ostream &OS) const
void addDeclOccurence(SymbolRoleSet Roles, unsigned Offset, const Decl *D, ArrayRef< SymbolRelation > Relations)
Adds an occurrence of the canonical declaration D at the supplied Offset.
Stores the declaration occurrences seen in a particular source or header file of a translation unit...
An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with it...
Dataflow Directional Tag Classes.
FileIndexRecord(FileID FID, bool IsSystem)
Defines the clang::SourceLocation class and associated facilities.