Home
last modified time | relevance | path

Searched refs:getContentCache (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndexInclusionStack.cpp38 if (!FI.getContentCache().OrigEntry) in getInclusions()
63 const_cast<FileEntry *>(FI.getContentCache().OrigEntry)), in getInclusions()
/llvm-project-15.0.7/clang/lib/Lex/
H A DScratchBuffer.cpp42 .getContentCache() in getToken()
/llvm-project-15.0.7/clang/lib/Basic/
H A DSourceManager.cpp728 if (Entry->getFile().getContentCache().OrigEntry) in getNonBuiltinFilenameForID()
743 return Entry->getFile().getContentCache().getBufferDataIfLoaded(); in getBufferDataIfLoaded()
749 if (auto B = Entry->getFile().getContentCache().getBufferOrNone( in getBufferDataOrNone()
1168 Entry.getFile().getContentCache().getBufferOrNone(Diag, getFileManager(), in getCharacterData()
1362 Content = &Entry.getFile().getContentCache(); in getLineNumber()
1526 const SrcMgr::ContentCache *C = &FI.getContentCache(); in getPresumedLoc()
1664 if (MainSLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
1674 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
1682 SLoc.getFile().getContentCache().OrigEntry == SourceFile) in translateFile()
1714 const ContentCache *Content = &Entry.getFile().getContentCache(); in translateLineCol()
[all …]
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceManager.h324 const ContentCache &getContentCache() const { in getContentCache() function
342 StringRef getName() const { return getContentCache().Filename; } in getName()
1018 return Entry->getFile().getContentCache().getBufferOrNone(
1037 return Entry->getFile().getContentCache().OrigEntry; in getFileEntryForID()
1057 return sloc.getFile().getContentCache().OrigEntry; in getFileEntryForSLocEntry()
/llvm-project-15.0.7/clang/lib/Rewrite/
H A DRewriter.cpp268 &SourceMgr->getSLocEntry(FID).getFile().getContentCache(); in InsertText()
372 &SourceMgr->getSLocEntry(FID).getFile().getContentCache(); in IncreaseIndentation()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp1553 const SrcMgr::ContentCache *Cache = &File.getContentCache(); in WriteInputFiles()
2062 const SrcMgr::ContentCache *Cache = &SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()
2076 const SrcMgr::ContentCache *Content = &File.getContentCache(); in WriteSourceManagerBlock()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTImporter.cpp9378 const SrcMgr::ContentCache *Cache = &FromSLoc.getFile().getContentCache(); in Import()