Lines Matching refs:SourceManager

265 unsigned SourceManager::getLineTableFilenameID(StringRef Name) {  in getLineTableFilenameID()
272 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
300 LineTableInfo &SourceManager::getLineTable() { in getLineTable()
310 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in SourceManager() function in SourceManager
317 SourceManager::~SourceManager() { in ~SourceManager()
336 void SourceManager::clearIDTables() { in clearIDTables()
354 bool SourceManager::isMainFile(const FileEntry &SourceFile) { in isMainFile()
361 void SourceManager::initializeForReplay(const SourceManager &Old) { in initializeForReplay()
389 ContentCache &SourceManager::getOrCreateContentCache(FileEntryRef FileEnt, in getOrCreateContentCache()
422 ContentCache &SourceManager::createMemBufferContentCache( in createMemBufferContentCache()
432 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index, in loadSLocEntry()
453 SourceManager::AllocateLoadedSLocEntries(unsigned NumSLocEntries, in AllocateLoadedSLocEntries()
470 llvm::MemoryBufferRef SourceManager::getFakeBufferForRecovery() const { in getFakeBufferForRecovery()
480 SrcMgr::ContentCache &SourceManager::getFakeContentCacheForRecovery() const { in getFakeContentCacheForRecovery()
490 FileID SourceManager::getPreviousFileID(FileID FID) const { in getPreviousFileID()
510 FileID SourceManager::getNextFileID(FileID FID) const { in getNextFileID()
533 FileID SourceManager::createFileID(const FileEntry *SourceFile, in createFileID()
542 FileID SourceManager::createFileID(FileEntryRef SourceFile, in createFileID()
563 FileID SourceManager::createFileID(std::unique_ptr<llvm::MemoryBuffer> Buffer, in createFileID()
577 FileID SourceManager::createFileID(const llvm::MemoryBufferRef &Buffer, in createFileID()
589 SourceManager::getOrCreateFileID(const FileEntry *SourceFile, in getOrCreateFileID()
599 FileID SourceManager::createFileIDImpl(ContentCache &File, StringRef Filename, in createFileIDImpl()
634 SourceLocation SourceManager::createMacroArgExpansionLoc( in createMacroArgExpansionLoc()
641 SourceLocation SourceManager::createExpansionLoc( in createExpansionLoc()
651 SourceLocation SourceManager::createTokenSplitLoc(SourceLocation Spelling, in createTokenSplitLoc()
662 SourceManager::createExpansionLocImpl(const ExpansionInfo &Info, in createExpansionLocImpl()
685 SourceManager::getMemoryBufferForFileOrNone(const FileEntry *File) { in getMemoryBufferForFileOrNone()
690 void SourceManager::overrideFileContents( in overrideFileContents()
700 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents()
716 SourceManager::bypassFileContentsOverride(FileEntryRef File) { in bypassFileContentsOverride()
728 void SourceManager::setFileIsTransient(const FileEntry *File) { in setFileIsTransient()
733 SourceManager::getNonBuiltinFilenameForID(FileID FID) const { in getNonBuiltinFilenameForID()
740 StringRef SourceManager::getBufferData(FileID FID, bool *Invalid) const { in getBufferData()
748 SourceManager::getBufferDataIfLoaded(FileID FID) const { in getBufferDataIfLoaded()
754 std::optional<StringRef> SourceManager::getBufferDataOrNone(FileID FID) const { in getBufferDataOrNone()
771 FileID SourceManager::getFileIDSlow(SourceLocation::UIntTy SLocOffset) const { in getFileIDSlow()
786 FileID SourceManager::getFileIDLocal(SourceLocation::UIntTy SLocOffset) const { in getFileIDLocal()
866 FileID SourceManager::getFileIDLoaded(SourceLocation::UIntTy SLocOffset) const { in getFileIDLoaded()
937 SourceLocation SourceManager::
952 SourceLocation SourceManager::getSpellingLocSlowCase(SourceLocation Loc) const { in getSpellingLocSlowCase()
961 SourceLocation SourceManager::getFileLocSlowCase(SourceLocation Loc) const { in getFileLocSlowCase()
973 SourceManager::getDecomposedExpansionLocSlowCase( in getDecomposedExpansionLocSlowCase()
991 SourceManager::getDecomposedSpellingLocSlowCase(const SrcMgr::SLocEntry *E, in getDecomposedSpellingLocSlowCase()
1012 SourceLocation SourceManager::getImmediateSpellingLoc(SourceLocation Loc) const{ in getImmediateSpellingLoc()
1020 StringRef SourceManager::getFilename(SourceLocation SpellingLoc) const { in getFilename()
1029 SourceManager::getImmediateExpansionRange(SourceLocation Loc) const { in getImmediateExpansionRange()
1035 SourceLocation SourceManager::getTopMacroCallerLoc(SourceLocation Loc) const { in getTopMacroCallerLoc()
1043 CharSourceRange SourceManager::getExpansionRange(SourceLocation Loc) const { in getExpansionRange()
1061 bool SourceManager::isMacroArgExpansion(SourceLocation Loc, in isMacroArgExpansion()
1074 bool SourceManager::isMacroBodyExpansion(SourceLocation Loc) const { in isMacroBodyExpansion()
1082 bool SourceManager::isAtStartOfImmediateMacroExpansion(SourceLocation Loc, in isAtStartOfImmediateMacroExpansion()
1117 bool SourceManager::isAtEndOfImmediateMacroExpansion(SourceLocation Loc, in isAtEndOfImmediateMacroExpansion()
1159 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData()
1185 unsigned SourceManager::getColumnNumber(FileID FID, unsigned FilePos, in getColumnNumber()
1239 unsigned SourceManager::getSpellingColumnNumber(SourceLocation Loc, in getSpellingColumnNumber()
1246 unsigned SourceManager::getExpansionColumnNumber(SourceLocation Loc, in getExpansionColumnNumber()
1253 unsigned SourceManager::getPresumedColumnNumber(SourceLocation Loc, in getPresumedColumnNumber()
1351 unsigned SourceManager::getLineNumber(FileID FID, unsigned FilePos, in getLineNumber()
1448 unsigned SourceManager::getSpellingLineNumber(SourceLocation Loc, in getSpellingLineNumber()
1454 unsigned SourceManager::getExpansionLineNumber(SourceLocation Loc, in getExpansionLineNumber()
1460 unsigned SourceManager::getPresumedLineNumber(SourceLocation Loc, in getPresumedLineNumber()
1476 SourceManager::getFileCharacteristic(SourceLocation Loc) const { in getFileCharacteristic()
1505 StringRef SourceManager::getBufferName(SourceLocation Loc, in getBufferName()
1522 PresumedLoc SourceManager::getPresumedLoc(SourceLocation Loc, in getPresumedLoc()
1598 bool SourceManager::isInMainFile(SourceLocation Loc) const { in isInMainFile()
1621 unsigned SourceManager::getFileIDSize(FileID FID) const { in getFileIDSize()
1647 SourceLocation SourceManager::translateFileLineCol(const FileEntry *SourceFile, in translateFileLineCol()
1661 FileID SourceManager::translateFile(const FileEntry *SourceFile) const { in translateFile()
1700 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol()
1763 void SourceManager::computeMacroArgsCache(MacroArgsMap &MacroArgsCache, in computeMacroArgsCache()
1829 void SourceManager::associateFileChunkWithMacroArgExp( in associateFileChunkWithMacroArgExp()
1918 SourceManager::getMacroArgExpandedLocation(SourceLocation Loc) const { in getMacroArgExpandedLocation()
1952 SourceManager::getDecomposedIncludedLoc(FileID FID) const { in getDecomposedIncludedLoc()
1985 const SourceManager &SM) { in MoveUpIncludeHierarchy()
1996 InBeforeInTUCacheEntry &SourceManager::getInBeforeInTUCache(FileID LFID, in getInBeforeInTUCache()
2025 bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS, in isBeforeInTranslationUnit()
2079 std::pair<bool, bool> SourceManager::isInTheSameTranslationUnit( in isInTheSameTranslationUnit()
2153 void SourceManager::PrintStats() const { in PrintStats()
2181 LLVM_DUMP_METHOD void SourceManager::dump() const { in dump()
2237 void SourceManager::noteSLocAddressSpaceUsage( in noteSLocAddressSpaceUsage()
2329 SourceManager::MemoryBufferSizes SourceManager::getMemoryBufferSizes() const { in getMemoryBufferSizes()
2347 size_t SourceManager::getDataStructureSizes() const { in getDataStructureSizes()
2379 SourceMgr = std::make_unique<SourceManager>(*Diagnostics, *FileMgr); in SourceManagerForFile()