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()
423 ContentCache &SourceManager::createMemBufferContentCache( in createMemBufferContentCache()
433 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index, in loadSLocEntry()
454 SourceManager::AllocateLoadedSLocEntries(unsigned NumSLocEntries, in AllocateLoadedSLocEntries()
469 llvm::MemoryBufferRef SourceManager::getFakeBufferForRecovery() const { in getFakeBufferForRecovery()
479 SrcMgr::ContentCache &SourceManager::getFakeContentCacheForRecovery() const { in getFakeContentCacheForRecovery()
489 FileID SourceManager::getPreviousFileID(FileID FID) const { in getPreviousFileID()
509 FileID SourceManager::getNextFileID(FileID FID) const { in getNextFileID()
532 FileID SourceManager::createFileID(const FileEntry *SourceFile, in createFileID()
541 FileID SourceManager::createFileID(FileEntryRef SourceFile, in createFileID()
562 FileID SourceManager::createFileID(std::unique_ptr<llvm::MemoryBuffer> Buffer, in createFileID()
576 FileID SourceManager::createFileID(const llvm::MemoryBufferRef &Buffer, in createFileID()
588 SourceManager::getOrCreateFileID(const FileEntry *SourceFile, in getOrCreateFileID()
598 FileID SourceManager::createFileIDImpl(ContentCache &File, StringRef Filename, in createFileIDImpl()
632 SourceLocation SourceManager::createMacroArgExpansionLoc( in createMacroArgExpansionLoc()
639 SourceLocation SourceManager::createExpansionLoc( in createExpansionLoc()
649 SourceLocation SourceManager::createTokenSplitLoc(SourceLocation Spelling, in createTokenSplitLoc()
660 SourceManager::createExpansionLocImpl(const ExpansionInfo &Info, in createExpansionLocImpl()
682 SourceManager::getMemoryBufferForFileOrNone(const FileEntry *File) { in getMemoryBufferForFileOrNone()
687 void SourceManager::overrideFileContents( in overrideFileContents()
697 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents()
709 SourceManager::bypassFileContentsOverride(FileEntryRef File) { in bypassFileContentsOverride()
721 void SourceManager::setFileIsTransient(const FileEntry *File) { in setFileIsTransient()
726 SourceManager::getNonBuiltinFilenameForID(FileID FID) const { in getNonBuiltinFilenameForID()
733 StringRef SourceManager::getBufferData(FileID FID, bool *Invalid) const { in getBufferData()
741 SourceManager::getBufferDataIfLoaded(FileID FID) const { in getBufferDataIfLoaded()
747 llvm::Optional<StringRef> SourceManager::getBufferDataOrNone(FileID FID) const { in getBufferDataOrNone()
764 FileID SourceManager::getFileIDSlow(SourceLocation::UIntTy SLocOffset) const { in getFileIDSlow()
779 FileID SourceManager::getFileIDLocal(SourceLocation::UIntTy SLocOffset) const { in getFileIDLocal()
862 FileID SourceManager::getFileIDLoaded(SourceLocation::UIntTy SLocOffset) const { in getFileIDLoaded()
930 SourceLocation SourceManager::
945 SourceLocation SourceManager::getSpellingLocSlowCase(SourceLocation Loc) const { in getSpellingLocSlowCase()
954 SourceLocation SourceManager::getFileLocSlowCase(SourceLocation Loc) const { in getFileLocSlowCase()
966 SourceManager::getDecomposedExpansionLocSlowCase( in getDecomposedExpansionLocSlowCase()
984 SourceManager::getDecomposedSpellingLocSlowCase(const SrcMgr::SLocEntry *E, in getDecomposedSpellingLocSlowCase()
1005 SourceLocation SourceManager::getImmediateSpellingLoc(SourceLocation Loc) const{ in getImmediateSpellingLoc()
1013 StringRef SourceManager::getFilename(SourceLocation SpellingLoc) const { in getFilename()
1022 SourceManager::getImmediateExpansionRange(SourceLocation Loc) const { in getImmediateExpansionRange()
1028 SourceLocation SourceManager::getTopMacroCallerLoc(SourceLocation Loc) const { in getTopMacroCallerLoc()
1036 CharSourceRange SourceManager::getExpansionRange(SourceLocation Loc) const { in getExpansionRange()
1054 bool SourceManager::isMacroArgExpansion(SourceLocation Loc, in isMacroArgExpansion()
1067 bool SourceManager::isMacroBodyExpansion(SourceLocation Loc) const { in isMacroBodyExpansion()
1075 bool SourceManager::isAtStartOfImmediateMacroExpansion(SourceLocation Loc, in isAtStartOfImmediateMacroExpansion()
1110 bool SourceManager::isAtEndOfImmediateMacroExpansion(SourceLocation Loc, in isAtEndOfImmediateMacroExpansion()
1152 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData()
1178 unsigned SourceManager::getColumnNumber(FileID FID, unsigned FilePos, in getColumnNumber()
1232 unsigned SourceManager::getSpellingColumnNumber(SourceLocation Loc, in getSpellingColumnNumber()
1239 unsigned SourceManager::getExpansionColumnNumber(SourceLocation Loc, in getExpansionColumnNumber()
1246 unsigned SourceManager::getPresumedColumnNumber(SourceLocation Loc, in getPresumedColumnNumber()
1342 unsigned SourceManager::getLineNumber(FileID FID, unsigned FilePos, in getLineNumber()
1439 unsigned SourceManager::getSpellingLineNumber(SourceLocation Loc, in getSpellingLineNumber()
1445 unsigned SourceManager::getExpansionLineNumber(SourceLocation Loc, in getExpansionLineNumber()
1451 unsigned SourceManager::getPresumedLineNumber(SourceLocation Loc, in getPresumedLineNumber()
1467 SourceManager::getFileCharacteristic(SourceLocation Loc) const { in getFileCharacteristic()
1496 StringRef SourceManager::getBufferName(SourceLocation Loc, in getBufferName()
1513 PresumedLoc SourceManager::getPresumedLoc(SourceLocation Loc, in getPresumedLoc()
1589 bool SourceManager::isInMainFile(SourceLocation Loc) const { in isInMainFile()
1612 unsigned SourceManager::getFileIDSize(FileID FID) const { in getFileIDSize()
1638 SourceLocation SourceManager::translateFileLineCol(const FileEntry *SourceFile, in translateFileLineCol()
1652 FileID SourceManager::translateFile(const FileEntry *SourceFile) const { in translateFile()
1691 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol()
1754 void SourceManager::computeMacroArgsCache(MacroArgsMap &MacroArgsCache, in computeMacroArgsCache()
1820 void SourceManager::associateFileChunkWithMacroArgExp( in associateFileChunkWithMacroArgExp()
1909 SourceManager::getMacroArgExpandedLocation(SourceLocation Loc) const { in getMacroArgExpandedLocation()
1943 SourceManager::getDecomposedIncludedLoc(FileID FID) const { in getDecomposedIncludedLoc()
1976 const SourceManager &SM) { in MoveUpIncludeHierarchy()
1987 InBeforeInTUCacheEntry &SourceManager::getInBeforeInTUCache(FileID LFID, in getInBeforeInTUCache()
2014 bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS, in isBeforeInTranslationUnit()
2068 std::pair<bool, bool> SourceManager::isInTheSameTranslationUnit( in isInTheSameTranslationUnit()
2122 void SourceManager::PrintStats() const { in PrintStats()
2150 LLVM_DUMP_METHOD void SourceManager::dump() const { in dump()
2210 SourceManager::MemoryBufferSizes SourceManager::getMemoryBufferSizes() const { in getMemoryBufferSizes()
2228 size_t SourceManager::getDataStructureSizes() const { in getDataStructureSizes()
2260 SourceMgr = std::make_unique<SourceManager>(*Diagnostics, *FileMgr); in SourceManagerForFile()