Lines Matching refs:SrcMgr
46 using namespace SrcMgr;
205 SrcMgr::CharacteristicKind FileKind) { in AddLineNote()
275 SrcMgr::CharacteristicKind FileKind) { in AddLineNote()
283 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); in AddLineNote()
286 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives(); in AddLineNote()
327 for (llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*>::iterator in ~SourceManager()
382 SrcMgr::ContentCache *&Slot = FileInfos[FileInfo.first]; in initializeForReplay()
433 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index, in loadSLocEntry()
445 SrcMgr::C_User, ""))); in loadSLocEntry()
479 SrcMgr::ContentCache &SourceManager::getFakeContentCacheForRecovery() const { in getFakeContentCacheForRecovery()
481 FakeContentCacheForRecovery = std::make_unique<SrcMgr::ContentCache>(); in getFakeContentCacheForRecovery()
534 SrcMgr::CharacteristicKind FileCharacter, in createFileID()
543 SrcMgr::CharacteristicKind FileCharacter, in createFileID()
546 SrcMgr::ContentCache &IR = getOrCreateContentCache(SourceFile, in createFileID()
563 SrcMgr::CharacteristicKind FileCharacter, in createFileID()
577 SrcMgr::CharacteristicKind FileCharacter, in createFileID()
589 SrcMgr::CharacteristicKind FileCharacter) { in getOrCreateFileID()
600 SrcMgr::CharacteristicKind FileCharacter, in createFileIDImpl()
683 SrcMgr::ContentCache &IR = getOrCreateContentCache(File->getLastRef()); in getMemoryBufferForFileOrNone()
689 SrcMgr::ContentCache &IR = getOrCreateContentCache(SourceFile->getLastRef()); in overrideFileContents()
727 if (const SrcMgr::SLocEntry *Entry = getSLocEntryForFile(FID)) in getNonBuiltinFilenameForID()
742 if (const SrcMgr::SLocEntry *Entry = getSLocEntryForFile(FID)) in getBufferDataIfLoaded()
748 if (const SrcMgr::SLocEntry *Entry = getSLocEntryForFile(FID)) in getBufferDataOrNone()
793 const SrcMgr::SLocEntry *I; in getFileIDLocal()
882 const SrcMgr::SLocEntry &E = getLoadedSLocEntry(I); in getFileIDLoaded()
900 const SrcMgr::SLocEntry &E = getLoadedSLocEntry(MiddleIndex); in getFileIDLoaded()
967 const SrcMgr::SLocEntry *E) const { in getDecomposedExpansionLocSlowCase()
984 SourceManager::getDecomposedSpellingLocSlowCase(const SrcMgr::SLocEntry *E, in getDecomposedSpellingLocSlowCase()
1059 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroArgExpansion()
1071 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroBodyExpansion()
1084 const SrcMgr::ExpansionInfo &ExpInfo = in isAtStartOfImmediateMacroExpansion()
1096 const SrcMgr::SLocEntry &PrevEntry = getSLocEntry(PrevFID, &Invalid); in isAtStartOfImmediateMacroExpansion()
1120 const SrcMgr::ExpansionInfo &ExpInfo = in isAtEndOfImmediateMacroExpansion()
1131 const SrcMgr::SLocEntry &NextEntry = getSLocEntry(NextFID, &Invalid); in isAtEndOfImmediateMacroExpansion()
1466 SrcMgr::CharacteristicKind
1474 const SrcMgr::FileInfo &FI = SEntry->getFile(); in getFileCharacteristic()
1525 const SrcMgr::FileInfo &FI = Entry.getFile(); in getPresumedLoc()
1526 const SrcMgr::ContentCache *C = &FI.getContentCache(); in getPresumedLoc()
1599 const SrcMgr::FileInfo &FI = Entry->getFile(); in isInMainFile()
1614 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &Invalid); in getFileIDSize()
1773 const SrcMgr::SLocEntry &Entry = getSLocEntryByID(ID, &Invalid); in computeMacroArgsCache()
1957 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &Invalid); in getDecomposedIncludedLoc()
2153 auto DumpSLocEntry = [&](int ID, const SrcMgr::SLocEntry &Entry, in dump()
2262 SourceLocation(), clang::SrcMgr::C_User); in SourceManagerForFile()