Lines Matching refs:SourceManager

100                                             const SourceManager &SM,  in getBuffer()
270 unsigned SourceManager::getLineTableFilenameID(StringRef Name) { in getLineTableFilenameID()
277 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
305 LineTableInfo &SourceManager::getLineTable() { in getLineTable()
315 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in SourceManager() function in SourceManager
322 SourceManager::~SourceManager() { in ~SourceManager()
343 void SourceManager::clearIDTables() { in clearIDTables()
361 void SourceManager::initializeForReplay(const SourceManager &Old) { in initializeForReplay()
392 SourceManager::getOrCreateContentCache(const FileEntry *FileEnt, in getOrCreateContentCache()
427 SourceManager::createMemBufferContentCache(llvm::MemoryBuffer *Buffer, in createMemBufferContentCache()
437 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index, in loadSLocEntry()
457 SourceManager::AllocateLoadedSLocEntries(unsigned NumSLocEntries, in AllocateLoadedSLocEntries()
472 llvm::MemoryBuffer *SourceManager::getFakeBufferForRecovery() const { in getFakeBufferForRecovery()
483 SourceManager::getFakeContentCacheForRecovery() const { in getFakeContentCacheForRecovery()
494 FileID SourceManager::getPreviousFileID(FileID FID) const { in getPreviousFileID()
514 FileID SourceManager::getNextFileID(FileID FID) const { in getNextFileID()
536 FileID SourceManager::createFileID(const ContentCache *File, in createFileID()
568 SourceManager::createMacroArgExpansionLoc(SourceLocation SpellingLoc, in createMacroArgExpansionLoc()
577 SourceManager::createExpansionLoc(SourceLocation SpellingLoc, in createExpansionLoc()
589 SourceLocation SourceManager::createTokenSplitLoc(SourceLocation Spelling, in createTokenSplitLoc()
600 SourceManager::createExpansionLocImpl(const ExpansionInfo &Info, in createExpansionLocImpl()
622 llvm::MemoryBuffer *SourceManager::getMemoryBufferForFile(const FileEntry *File, in getMemoryBufferForFile()
629 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents()
641 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents()
652 void SourceManager::disableFileContentsOverride(const FileEntry *File) { in disableFileContentsOverride()
665 void SourceManager::setFileIsTransient(const FileEntry *File) { in setFileIsTransient()
670 StringRef SourceManager::getBufferData(FileID FID, bool *Invalid) const { in getBufferData()
699 FileID SourceManager::getFileIDSlow(unsigned SLocOffset) const { in getFileIDSlow()
714 FileID SourceManager::getFileIDLocal(unsigned SLocOffset) const { in getFileIDLocal()
805 FileID SourceManager::getFileIDLoaded(unsigned SLocOffset) const { in getFileIDLoaded()
879 SourceLocation SourceManager::
894 SourceLocation SourceManager::getSpellingLocSlowCase(SourceLocation Loc) const { in getSpellingLocSlowCase()
903 SourceLocation SourceManager::getFileLocSlowCase(SourceLocation Loc) const { in getFileLocSlowCase()
915 SourceManager::getDecomposedExpansionLocSlowCase( in getDecomposedExpansionLocSlowCase()
933 SourceManager::getDecomposedSpellingLocSlowCase(const SrcMgr::SLocEntry *E, in getDecomposedSpellingLocSlowCase()
954 SourceLocation SourceManager::getImmediateSpellingLoc(SourceLocation Loc) const{ in getImmediateSpellingLoc()
964 SourceManager::getImmediateExpansionRange(SourceLocation Loc) const { in getImmediateExpansionRange()
970 SourceLocation SourceManager::getTopMacroCallerLoc(SourceLocation Loc) const { in getTopMacroCallerLoc()
978 CharSourceRange SourceManager::getExpansionRange(SourceLocation Loc) const { in getExpansionRange()
996 bool SourceManager::isMacroArgExpansion(SourceLocation Loc, in isMacroArgExpansion()
1009 bool SourceManager::isMacroBodyExpansion(SourceLocation Loc) const { in isMacroBodyExpansion()
1017 bool SourceManager::isAtStartOfImmediateMacroExpansion(SourceLocation Loc, in isAtStartOfImmediateMacroExpansion()
1052 bool SourceManager::isAtEndOfImmediateMacroExpansion(SourceLocation Loc, in isAtEndOfImmediateMacroExpansion()
1094 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData()
1118 unsigned SourceManager::getColumnNumber(FileID FID, unsigned FilePos, in getColumnNumber()
1173 unsigned SourceManager::getSpellingColumnNumber(SourceLocation Loc, in getSpellingColumnNumber()
1180 unsigned SourceManager::getExpansionColumnNumber(SourceLocation Loc, in getExpansionColumnNumber()
1187 unsigned SourceManager::getPresumedColumnNumber(SourceLocation Loc, in getPresumedColumnNumber()
1201 const SourceManager &SM, bool &Invalid);
1204 const SourceManager &SM, bool &Invalid) { in ComputeLineNumbers()
1248 unsigned SourceManager::getLineNumber(FileID FID, unsigned FilePos, in getLineNumber()
1342 unsigned SourceManager::getSpellingLineNumber(SourceLocation Loc, in getSpellingLineNumber()
1348 unsigned SourceManager::getExpansionLineNumber(SourceLocation Loc, in getExpansionLineNumber()
1354 unsigned SourceManager::getPresumedLineNumber(SourceLocation Loc, in getPresumedLineNumber()
1370 SourceManager::getFileCharacteristic(SourceLocation Loc) const { in getFileCharacteristic()
1400 StringRef SourceManager::getBufferName(SourceLocation Loc, in getBufferName()
1414 PresumedLoc SourceManager::getPresumedLoc(SourceLocation Loc, in getPresumedLoc()
1485 bool SourceManager::isInMainFile(SourceLocation Loc) const { in isInMainFile()
1509 unsigned SourceManager::getFileIDSize(FileID FID) const { in getFileIDSize()
1551 SourceLocation SourceManager::translateFileLineCol(const FileEntry *SourceFile, in translateFileLineCol()
1565 FileID SourceManager::translateFile(const FileEntry *SourceFile) const { in translateFile()
1680 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol()
1746 void SourceManager::computeMacroArgsCache(MacroArgsMap &MacroArgsCache, in computeMacroArgsCache()
1799 void SourceManager::associateFileChunkWithMacroArgExp( in associateFileChunkWithMacroArgExp()
1888 SourceManager::getMacroArgExpandedLocation(SourceLocation Loc) const { in getMacroArgExpandedLocation()
1917 SourceManager::getDecomposedIncludedLoc(FileID FID) const { in getDecomposedIncludedLoc()
1950 const SourceManager &SM) { in MoveUpIncludeHierarchy()
1961 InBeforeInTUCacheEntry &SourceManager::getInBeforeInTUCache(FileID LFID, in getInBeforeInTUCache()
1988 bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS, in isBeforeInTranslationUnit()
2042 std::pair<bool, bool> SourceManager::isInTheSameTranslationUnit( in isInTheSameTranslationUnit()
2096 void SourceManager::PrintStats() const { in PrintStats()
2124 LLVM_DUMP_METHOD void SourceManager::dump() const { in dump()
2185 SourceManager::MemoryBufferSizes SourceManager::getMemoryBufferSizes() const { in getMemoryBufferSizes()
2203 size_t SourceManager::getDataStructureSizes() const { in getDataStructureSizes()
2235 SourceMgr = llvm::make_unique<SourceManager>(*Diagnostics, *FileMgr); in SourceManagerForFile()