• Home
  • Raw
  • Download

Lines Matching refs:SrcMgr

31 using namespace SrcMgr;
197 SrcMgr::CharacteristicKind Kind = SrcMgr::C_User; in AddLineNote()
224 SrcMgr::CharacteristicKind FileKind) { in AddLineNote()
298 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); in AddLineNote()
301 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives(); in AddLineNote()
326 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); in AddLineNote()
329 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives(); in AddLineNote()
333 SrcMgr::CharacteristicKind FileKind; in AddLineNote()
335 FileKind = SrcMgr::C_ExternCSystem; in AddLineNote()
337 FileKind = SrcMgr::C_System; in AddLineNote()
339 FileKind = SrcMgr::C_User; in AddLineNote()
383 for (llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*>::iterator in ~SourceManager()
460 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index, in loadSLocEntry()
472 SrcMgr::C_User)); in loadSLocEntry()
505 const SrcMgr::ContentCache *
508 FakeContentCacheForRecovery = llvm::make_unique<SrcMgr::ContentCache>(); in getFakeContentCacheForRecovery()
561 SrcMgr::CharacteristicKind FileCharacter, in createFileID()
636 const SrcMgr::ContentCache *IR = getOrCreateContentCache(File); in getMemoryBufferForFile()
644 const SrcMgr::ContentCache *IR = getOrCreateContentCache(SourceFile); in overrideFileContents()
647 const_cast<SrcMgr::ContentCache *>(IR)->replaceBuffer(Buffer, DoNotFree); in overrideFileContents()
648 const_cast<SrcMgr::ContentCache *>(IR)->BufferOverridden = true; in overrideFileContents()
668 const SrcMgr::ContentCache *IR = getOrCreateContentCache(File); in disableFileContentsOverride()
669 const_cast<SrcMgr::ContentCache *>(IR)->replaceBuffer(nullptr); in disableFileContentsOverride()
670 const_cast<SrcMgr::ContentCache *>(IR)->ContentsEntry = IR->OrigEntry; in disableFileContentsOverride()
678 const SrcMgr::ContentCache *CC = getOrCreateContentCache(File); in setFileIsTransient()
679 const_cast<SrcMgr::ContentCache *>(CC)->IsTransient = true; in setFileIsTransient()
740 const SrcMgr::SLocEntry *I; in getFileIDLocal()
838 const SrcMgr::SLocEntry &E = getLoadedSLocEntry(I); in getFileIDLoaded()
858 const SrcMgr::SLocEntry &E = getLoadedSLocEntry(MiddleIndex); in getFileIDLoaded()
928 const SrcMgr::SLocEntry *E) const { in getDecomposedExpansionLocSlowCase()
945 SourceManager::getDecomposedSpellingLocSlowCase(const SrcMgr::SLocEntry *E, in getDecomposedSpellingLocSlowCase()
1006 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroArgExpansion()
1018 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroBodyExpansion()
1031 const SrcMgr::ExpansionInfo &ExpInfo = in isAtStartOfImmediateMacroExpansion()
1043 const SrcMgr::SLocEntry &PrevEntry = getSLocEntry(PrevFID, &Invalid); in isAtStartOfImmediateMacroExpansion()
1067 const SrcMgr::ExpansionInfo &ExpInfo = in isAtEndOfImmediateMacroExpansion()
1078 const SrcMgr::SLocEntry &NextEntry = getSLocEntry(NextFID, &Invalid); in isAtEndOfImmediateMacroExpansion()
1410 SrcMgr::CharacteristicKind
1419 const SrcMgr::FileInfo &FI = SEntry.getFile(); in getFileCharacteristic()
1468 const SrcMgr::FileInfo &FI = Entry.getFile(); in getPresumedLoc()
1469 const SrcMgr::ContentCache *C = FI.getContentCache(); in getPresumedLoc()
1538 const SrcMgr::FileInfo &FI = Entry.getFile(); in isInMainFile()
1553 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &Invalid); in getFileIDSize()
1810 const SrcMgr::SLocEntry &Entry = getSLocEntryByID(ID, &Invalid); in computeMacroArgsCache()
1977 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &Invalid); in getDecomposedIncludedLoc()
2162 auto DumpSLocEntry = [&](int ID, const SrcMgr::SLocEntry &Entry, in dump()