Lines Matching refs:SrcMgr
32 using namespace SrcMgr;
204 SrcMgr::CharacteristicKind Kind = SrcMgr::C_User;
231 SrcMgr::CharacteristicKind FileKind) {
307 const SrcMgr::FileInfo &FileInfo = Entry.getFile();
310 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives();
337 const SrcMgr::FileInfo &FileInfo = Entry.getFile();
340 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives();
345 SrcMgr::CharacteristicKind FileKind;
347 FileKind = SrcMgr::C_ExternCSystem;
349 FileKind = SrcMgr::C_System;
351 FileKind = SrcMgr::C_User;
396 for (llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*>::iterator
486 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index,
498 SrcMgr::C_User));
529 const SrcMgr::ContentCache *
548 SrcMgr::CharacteristicKind FileCharacter,
624 const SrcMgr::ContentCache *IR = getOrCreateContentCache(File);
632 const SrcMgr::ContentCache *IR = getOrCreateContentCache(SourceFile);
635 const_cast<SrcMgr::ContentCache *>(IR)->replaceBuffer(Buffer, DoNotFree);
636 const_cast<SrcMgr::ContentCache *>(IR)->BufferOverridden = true;
656 const SrcMgr::ContentCache *IR = getOrCreateContentCache(File);
657 const_cast<SrcMgr::ContentCache *>(IR)->replaceBuffer(0);
658 const_cast<SrcMgr::ContentCache *>(IR)->ContentsEntry = IR->OrigEntry;
724 std::vector<SrcMgr::SLocEntry>::const_iterator I;
822 const SrcMgr::SLocEntry &E = getLoadedSLocEntry(I);
842 const SrcMgr::SLocEntry &E = getLoadedSLocEntry(MiddleIndex);
900 const SrcMgr::SLocEntry *E) const {
917 SourceManager::getDecomposedSpellingLocSlowCase(const SrcMgr::SLocEntry *E,
977 const SrcMgr::SLocEntry *E = &getSLocEntry(FID);
978 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion();
1307 SrcMgr::CharacteristicKind
1316 const SrcMgr::FileInfo &FI = SEntry.getFile();
1364 const SrcMgr::FileInfo &FI = Entry.getFile();
1365 const SrcMgr::ContentCache *C = FI.getContentCache();
1419 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &Invalid);
1671 const SrcMgr::SLocEntry &Entry = getSLocEntryByID(ID);
1781 const SrcMgr::SLocEntry &Entry = SM.getSLocEntry(Loc.first);