Lines Matching refs:SourceManager
85 const SourceManager &SM, in getBuffer()
281 unsigned SourceManager::getLineTableFilenameID(StringRef Name) { in getLineTableFilenameID()
291 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
311 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
356 LineTableInfo &SourceManager::getLineTable() { in getLineTable()
366 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in SourceManager() function in SourceManager
376 SourceManager::~SourceManager() { in ~SourceManager()
399 void SourceManager::clearIDTables() { in clearIDTables()
420 SourceManager::getOrCreateContentCache(const FileEntry *FileEnt, in getOrCreateContentCache()
454 const ContentCache *SourceManager::createMemBufferContentCache( in createMemBufferContentCache()
464 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index, in loadSLocEntry()
484 SourceManager::AllocateLoadedSLocEntries(unsigned NumSLocEntries, in AllocateLoadedSLocEntries()
497 llvm::MemoryBuffer *SourceManager::getFakeBufferForRecovery() const { in getFakeBufferForRecovery()
508 SourceManager::getFakeContentCacheForRecovery() const { in getFakeContentCacheForRecovery()
519 FileID SourceManager::getPreviousFileID(FileID FID) const { in getPreviousFileID()
539 FileID SourceManager::getNextFileID(FileID FID) const { in getNextFileID()
561 FileID SourceManager::createFileID(const ContentCache *File, in createFileID()
593 SourceManager::createMacroArgExpansionLoc(SourceLocation SpellingLoc, in createMacroArgExpansionLoc()
602 SourceManager::createExpansionLoc(SourceLocation SpellingLoc, in createExpansionLoc()
614 SourceManager::createExpansionLocImpl(const ExpansionInfo &Info, in createExpansionLocImpl()
636 llvm::MemoryBuffer *SourceManager::getMemoryBufferForFile(const FileEntry *File, in getMemoryBufferForFile()
643 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents()
655 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents()
666 void SourceManager::disableFileContentsOverride(const FileEntry *File) { in disableFileContentsOverride()
679 StringRef SourceManager::getBufferData(FileID FID, bool *Invalid) const { in getBufferData()
708 FileID SourceManager::getFileIDSlow(unsigned SLocOffset) const { in getFileIDSlow()
723 FileID SourceManager::getFileIDLocal(unsigned SLocOffset) const { in getFileIDLocal()
814 FileID SourceManager::getFileIDLoaded(unsigned SLocOffset) const { in getFileIDLoaded()
888 SourceLocation SourceManager::
903 SourceLocation SourceManager::getSpellingLocSlowCase(SourceLocation Loc) const { in getSpellingLocSlowCase()
912 SourceLocation SourceManager::getFileLocSlowCase(SourceLocation Loc) const { in getFileLocSlowCase()
924 SourceManager::getDecomposedExpansionLocSlowCase( in getDecomposedExpansionLocSlowCase()
942 SourceManager::getDecomposedSpellingLocSlowCase(const SrcMgr::SLocEntry *E, in getDecomposedSpellingLocSlowCase()
963 SourceLocation SourceManager::getImmediateSpellingLoc(SourceLocation Loc) const{ in getImmediateSpellingLoc()
974 SourceManager::getImmediateExpansionRange(SourceLocation Loc) const { in getImmediateExpansionRange()
983 SourceManager::getExpansionRange(SourceLocation Loc) const { in getExpansionRange()
998 bool SourceManager::isMacroArgExpansion(SourceLocation Loc) const { in isMacroArgExpansion()
1006 bool SourceManager::isMacroBodyExpansion(SourceLocation Loc) const { in isMacroBodyExpansion()
1014 bool SourceManager::isAtStartOfImmediateMacroExpansion(SourceLocation Loc, in isAtStartOfImmediateMacroExpansion()
1049 bool SourceManager::isAtEndOfImmediateMacroExpansion(SourceLocation Loc, in isAtEndOfImmediateMacroExpansion()
1092 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData()
1117 unsigned SourceManager::getColumnNumber(FileID FID, unsigned FilePos, in getColumnNumber()
1162 unsigned SourceManager::getSpellingColumnNumber(SourceLocation Loc, in getSpellingColumnNumber()
1169 unsigned SourceManager::getExpansionColumnNumber(SourceLocation Loc, in getExpansionColumnNumber()
1176 unsigned SourceManager::getPresumedColumnNumber(SourceLocation Loc, in getPresumedColumnNumber()
1189 const SourceManager &SM, bool &Invalid);
1192 const SourceManager &SM, bool &Invalid) { in ComputeLineNumbers()
1275 unsigned SourceManager::getLineNumber(FileID FID, unsigned FilePos, in getLineNumber()
1369 unsigned SourceManager::getSpellingLineNumber(SourceLocation Loc, in getSpellingLineNumber()
1375 unsigned SourceManager::getExpansionLineNumber(SourceLocation Loc, in getExpansionLineNumber()
1381 unsigned SourceManager::getPresumedLineNumber(SourceLocation Loc, in getPresumedLineNumber()
1396 SourceManager::getFileCharacteristic(SourceLocation Loc) const { in getFileCharacteristic()
1426 const char *SourceManager::getBufferName(SourceLocation Loc, in getBufferName()
1441 PresumedLoc SourceManager::getPresumedLoc(SourceLocation Loc, in getPresumedLoc()
1512 bool SourceManager::isInMainFile(SourceLocation Loc) const { in isInMainFile()
1536 unsigned SourceManager::getFileIDSize(FileID FID) const { in getFileIDSize()
1578 SourceLocation SourceManager::translateFileLineCol(const FileEntry *SourceFile, in translateFileLineCol()
1592 FileID SourceManager::translateFile(const FileEntry *SourceFile) const { in translateFile()
1707 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol()
1773 void SourceManager::computeMacroArgsCache(MacroArgsMap *&CachePtr, in computeMacroArgsCache()
1829 void SourceManager::associateFileChunkWithMacroArgExp( in associateFileChunkWithMacroArgExp()
1919 SourceManager::getMacroArgExpandedLocation(SourceLocation Loc) const { in getMacroArgExpandedLocation()
1946 SourceManager::getDecomposedIncludedLoc(FileID FID) const { in getDecomposedIncludedLoc()
1981 const SourceManager &SM) { in MoveUpIncludeHierarchy()
1992 InBeforeInTUCacheEntry &SourceManager::getInBeforeInTUCache(FileID LFID, in getInBeforeInTUCache()
2019 bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS, in isBeforeInTranslationUnit()
2108 void SourceManager::PrintStats() const { in PrintStats()
2140 SourceManager::MemoryBufferSizes SourceManager::getMemoryBufferSizes() const { in getMemoryBufferSizes()
2158 size_t SourceManager::getDataStructureSizes() const { in getDataStructureSizes()