reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Basic/SourceManager.h
  994     return Entry.getFile().getContentCache()->getBuffer(Diag, getFileManager(),
 1009     return Entry.getFile().getContentCache()->getBuffer(
 1020     const SrcMgr::ContentCache *Content = Entry.getFile().getContentCache();
 1033     const SrcMgr::ContentCache *Content = Entry.getFile().getContentCache();
 1036     return FileEntryRef(Entry.getFile().getName(), *Content->OrigEntry);
 1042     const SrcMgr::ContentCache *Content = sloc.getFile().getContentCache();
 1063     return Entry.getFile().NumCreatedFIDs;
 1075     assert((Force || Entry.getFile().NumCreatedFIDs == 0) && "Already set!");
 1076     const_cast<SrcMgr::FileInfo &>(Entry.getFile()).NumCreatedFIDs = NumFIDs;
 1138     return Entry.getFile().getIncludeLoc();
tools/clang/lib/AST/ASTImporter.cpp
 8444     const SrcMgr::ContentCache *Cache = FromSLoc.getFile().getContentCache();
 8448       ExpectedSLoc ToIncludeLoc = Import(FromSLoc.getFile().getIncludeLoc());
 8464                                    FromSLoc.getFile().getFileCharacteristic());
 8482                                FromSLoc.getFile().getFileCharacteristic());
tools/clang/lib/Basic/SourceManager.cpp
  321   const SrcMgr::FileInfo &FileInfo = Entry.getFile();
  711   const llvm::MemoryBuffer *Buf = SLoc.getFile().getContentCache()->getBuffer(
 1142       Entry.getFile().getContentCache()->getBuffer(
 1302     Content = const_cast<ContentCache*>(Entry.getFile().getContentCache());
 1412   const SrcMgr::FileInfo &FI = SEntry.getFile();
 1460   const SrcMgr::FileInfo &FI = Entry.getFile();
 1535   const SrcMgr::FileInfo &FI = Entry.getFile();
 1601           MainSLoc.getFile().getContentCache();
 1615     if (SLoc.isFile() && SLoc.getFile().getContentCache() &&
 1616         SLoc.getFile().getContentCache()->OrigEntry == SourceFile)
 1623     if (SLoc.isFile() && SLoc.getFile().getContentCache() &&
 1624         SLoc.getFile().getContentCache()->OrigEntry == SourceFile)
 1657     = const_cast<ContentCache *>(Entry.getFile().getContentCache());
 1722       SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc();
 1730       if (Entry.getFile().NumCreatedFIDs)
 1731         ID += Entry.getFile().NumCreatedFIDs - 1/*because of next ++ID*/;
 1889       UpperLoc = Entry.getFile().getIncludeLoc();
 2089       auto &FI = Entry.getFile();
tools/clang/lib/Index/IndexingContext.cpp
  127   if (SEntry.getFile().getFileCharacteristic() != SrcMgr::C_User) {
  373   if (SEntry.getFile().getFileCharacteristic() != SrcMgr::C_User) {
tools/clang/lib/Lex/ScratchBuffer.cpp
   42                  .getFile().getContentCache());
tools/clang/lib/Rewrite/Rewriter.cpp
  267         Content = SourceMgr->getSLocEntry(FID).getFile().getContentCache();
  371       Content = SourceMgr->getSLocEntry(FID).getFile().getContentCache();
tools/clang/lib/Sema/SemaType.cpp
 3787   const SrcMgr::FileInfo &fileInfo = sloc.getFile();
tools/clang/lib/Serialization/ASTReader.cpp
 1527           const_cast<SrcMgr::FileInfo&>(SourceMgr.getSLocEntry(FID).getFile());
tools/clang/lib/Serialization/ASTWriter.cpp
 1811     const SrcMgr::FileInfo &File = SLoc->getFile();
 2307       const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache();
 2320       const SrcMgr::FileInfo &File = SLoc->getFile();
tools/clang/tools/libclang/CIndex.cpp
  322       Outer = SLEntry.getFile().getIncludeLoc();
tools/clang/tools/libclang/CIndexInclusionStack.cpp
   38     const SrcMgr::FileInfo &FI = SL.getFile();