Lines Matching refs:SourceManager
85 const SourceManager &SM, in getBuffer()
281 unsigned SourceManager::getLineTableFilenameID(StringRef Name) { in getLineTableFilenameID()
289 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
307 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
351 LineTableInfo &SourceManager::getLineTable() { in getLineTable()
361 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in SourceManager() function in SourceManager
371 SourceManager::~SourceManager() { in ~SourceManager()
394 void SourceManager::clearIDTables() { in clearIDTables()
415 SourceManager::getOrCreateContentCache(const FileEntry *FileEnt, in getOrCreateContentCache()
450 const ContentCache *SourceManager::createMemBufferContentCache( in createMemBufferContentCache()
460 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index, in loadSLocEntry()
480 SourceManager::AllocateLoadedSLocEntries(unsigned NumSLocEntries, in AllocateLoadedSLocEntries()
495 llvm::MemoryBuffer *SourceManager::getFakeBufferForRecovery() const { in getFakeBufferForRecovery()
506 SourceManager::getFakeContentCacheForRecovery() const { in getFakeContentCacheForRecovery()
517 FileID SourceManager::getPreviousFileID(FileID FID) const { in getPreviousFileID()
537 FileID SourceManager::getNextFileID(FileID FID) const { in getNextFileID()
559 FileID SourceManager::createFileID(const ContentCache *File, in createFileID()
591 SourceManager::createMacroArgExpansionLoc(SourceLocation SpellingLoc, in createMacroArgExpansionLoc()
600 SourceManager::createExpansionLoc(SourceLocation SpellingLoc, in createExpansionLoc()
612 SourceManager::createExpansionLocImpl(const ExpansionInfo &Info, in createExpansionLocImpl()
634 llvm::MemoryBuffer *SourceManager::getMemoryBufferForFile(const FileEntry *File, in getMemoryBufferForFile()
641 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents()
653 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents()
664 void SourceManager::disableFileContentsOverride(const FileEntry *File) { in disableFileContentsOverride()
677 void SourceManager::setFileIsTransient(const FileEntry *File) { in setFileIsTransient()
682 StringRef SourceManager::getBufferData(FileID FID, bool *Invalid) const { in getBufferData()
711 FileID SourceManager::getFileIDSlow(unsigned SLocOffset) const { in getFileIDSlow()
726 FileID SourceManager::getFileIDLocal(unsigned SLocOffset) const { in getFileIDLocal()
817 FileID SourceManager::getFileIDLoaded(unsigned SLocOffset) const { in getFileIDLoaded()
891 SourceLocation SourceManager::
906 SourceLocation SourceManager::getSpellingLocSlowCase(SourceLocation Loc) const { in getSpellingLocSlowCase()
915 SourceLocation SourceManager::getFileLocSlowCase(SourceLocation Loc) const { in getFileLocSlowCase()
927 SourceManager::getDecomposedExpansionLocSlowCase( in getDecomposedExpansionLocSlowCase()
945 SourceManager::getDecomposedSpellingLocSlowCase(const SrcMgr::SLocEntry *E, in getDecomposedSpellingLocSlowCase()
966 SourceLocation SourceManager::getImmediateSpellingLoc(SourceLocation Loc) const{ in getImmediateSpellingLoc()
977 SourceManager::getImmediateExpansionRange(SourceLocation Loc) const { in getImmediateExpansionRange()
986 SourceManager::getExpansionRange(SourceLocation Loc) const { in getExpansionRange()
1001 bool SourceManager::isMacroArgExpansion(SourceLocation Loc, in isMacroArgExpansion()
1014 bool SourceManager::isMacroBodyExpansion(SourceLocation Loc) const { in isMacroBodyExpansion()
1022 bool SourceManager::isAtStartOfImmediateMacroExpansion(SourceLocation Loc, in isAtStartOfImmediateMacroExpansion()
1057 bool SourceManager::isAtEndOfImmediateMacroExpansion(SourceLocation Loc, in isAtEndOfImmediateMacroExpansion()
1100 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData()
1125 unsigned SourceManager::getColumnNumber(FileID FID, unsigned FilePos, in getColumnNumber()
1170 unsigned SourceManager::getSpellingColumnNumber(SourceLocation Loc, in getSpellingColumnNumber()
1177 unsigned SourceManager::getExpansionColumnNumber(SourceLocation Loc, in getExpansionColumnNumber()
1184 unsigned SourceManager::getPresumedColumnNumber(SourceLocation Loc, in getPresumedColumnNumber()
1197 const SourceManager &SM, bool &Invalid);
1200 const SourceManager &SM, bool &Invalid) { in ComputeLineNumbers()
1283 unsigned SourceManager::getLineNumber(FileID FID, unsigned FilePos, in getLineNumber()
1377 unsigned SourceManager::getSpellingLineNumber(SourceLocation Loc, in getSpellingLineNumber()
1383 unsigned SourceManager::getExpansionLineNumber(SourceLocation Loc, in getExpansionLineNumber()
1389 unsigned SourceManager::getPresumedLineNumber(SourceLocation Loc, in getPresumedLineNumber()
1404 SourceManager::getFileCharacteristic(SourceLocation Loc) const { in getFileCharacteristic()
1434 const char *SourceManager::getBufferName(SourceLocation Loc, in getBufferName()
1449 PresumedLoc SourceManager::getPresumedLoc(SourceLocation Loc, in getPresumedLoc()
1520 bool SourceManager::isInMainFile(SourceLocation Loc) const { in isInMainFile()
1544 unsigned SourceManager::getFileIDSize(FileID FID) const { in getFileIDSize()
1586 SourceLocation SourceManager::translateFileLineCol(const FileEntry *SourceFile, in translateFileLineCol()
1600 FileID SourceManager::translateFile(const FileEntry *SourceFile) const { in translateFile()
1715 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol()
1781 void SourceManager::computeMacroArgsCache(MacroArgsMap *&CachePtr, in computeMacroArgsCache()
1837 void SourceManager::associateFileChunkWithMacroArgExp( in associateFileChunkWithMacroArgExp()
1927 SourceManager::getMacroArgExpandedLocation(SourceLocation Loc) const { in getMacroArgExpandedLocation()
1954 SourceManager::getDecomposedIncludedLoc(FileID FID) const { in getDecomposedIncludedLoc()
1989 const SourceManager &SM) { in MoveUpIncludeHierarchy()
2000 InBeforeInTUCacheEntry &SourceManager::getInBeforeInTUCache(FileID LFID, in getInBeforeInTUCache()
2027 bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS, in isBeforeInTranslationUnit()
2116 void SourceManager::PrintStats() const { in PrintStats()
2144 LLVM_DUMP_METHOD void SourceManager::dump() const { in dump()
2205 SourceManager::MemoryBufferSizes SourceManager::getMemoryBufferSizes() const { in getMemoryBufferSizes()
2223 size_t SourceManager::getDataStructureSizes() const { in getDataStructureSizes()