Searched defs:ContentCache (Results 1 - 3 of 3) sorted by relevance

/external/clang/include/clang/Basic/
H A DSourceManager.h86 class LLVM_ALIGNAS(8) ContentCache {
97 /// This is owned by the ContentCache object. The bits indicate
102 /// \brief Reference to the file entry representing this ContentCache.
106 /// It is possible for this to be NULL if the ContentCache encapsulates
122 /// \brief The number of lines in this ContentCache.
143 ContentCache(const FileEntry *Ent = nullptr) : ContentCache(Ent, Ent) {} function
145 ContentCache(const FileEntry *Ent, const FileEntry *contentEnt) function
150 ~ContentCache();
155 ContentCache(cons function
[all...]
/external/clang/lib/Basic/
H A DSourceManager.cpp38 ContentCache::~ContentCache() {
44 /// ContentCache. This can be 0 if the MemBuffer was not actually expanded.
45 unsigned ContentCache::getSizeBytesMapped() const {
51 llvm::MemoryBuffer::BufferKind ContentCache::getMemoryBufferKind() const {
62 /// getSize - Returns the size of the content encapsulated by this ContentCache.
64 /// scratch buffer. If the ContentCache encapsulates a source file, that
66 unsigned ContentCache::getSize() const {
71 void ContentCache::replaceBuffer(llvm::MemoryBuffer *B, bool DoNotFree) {
84 llvm::MemoryBuffer *ContentCache
[all...]
/external/clang/lib/Serialization/
H A DASTReader.cpp1258 const SrcMgr::ContentCache *ContentCache local
1261 if (OverriddenBuffer && !ContentCache->BufferOverridden &&
1262 ContentCache->ContentsEntry == ContentCache->OrigEntry &&
1263 !ContentCache->getRawBuffer()) {

Completed in 117 milliseconds