• Home
  • Raw
  • Download

Lines Matching refs:SourceManager

85                                             const SourceManager &SM,  in getBuffer()
286 unsigned SourceManager::getLineTableFilenameID(StringRef Name) { in getLineTableFilenameID()
296 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
316 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
361 LineTableInfo &SourceManager::getLineTable() { in getLineTable()
371 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in SourceManager() function in SourceManager
382 SourceManager::~SourceManager() { in ~SourceManager()
408 void SourceManager::clearIDTables() { in clearIDTables()
429 SourceManager::getOrCreateContentCache(const FileEntry *FileEnt, in getOrCreateContentCache()
464 SourceManager::createMemBufferContentCache(llvm::MemoryBuffer *Buffer) { in createMemBufferContentCache()
473 const SrcMgr::SLocEntry &SourceManager::loadSLocEntry(unsigned Index, in loadSLocEntry()
493 SourceManager::AllocateLoadedSLocEntries(unsigned NumSLocEntries, in AllocateLoadedSLocEntries()
506 llvm::MemoryBuffer *SourceManager::getFakeBufferForRecovery() const { in getFakeBufferForRecovery()
517 SourceManager::getFakeContentCacheForRecovery() const { in getFakeContentCacheForRecovery()
528 FileID SourceManager::getPreviousFileID(FileID FID) const { in getPreviousFileID()
548 FileID SourceManager::getNextFileID(FileID FID) const { in getNextFileID()
570 FileID SourceManager::createFileID(const ContentCache *File, in createFileID()
602 SourceManager::createMacroArgExpansionLoc(SourceLocation SpellingLoc, in createMacroArgExpansionLoc()
611 SourceManager::createExpansionLoc(SourceLocation SpellingLoc, in createExpansionLoc()
623 SourceManager::createExpansionLocImpl(const ExpansionInfo &Info, in createExpansionLocImpl()
645 llvm::MemoryBuffer *SourceManager::getMemoryBufferForFile(const FileEntry *File, in getMemoryBufferForFile()
652 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents()
664 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents()
675 void SourceManager::disableFileContentsOverride(const FileEntry *File) { in disableFileContentsOverride()
688 StringRef SourceManager::getBufferData(FileID FID, bool *Invalid) const { in getBufferData()
717 FileID SourceManager::getFileIDSlow(unsigned SLocOffset) const { in getFileIDSlow()
732 FileID SourceManager::getFileIDLocal(unsigned SLocOffset) const { in getFileIDLocal()
823 FileID SourceManager::getFileIDLoaded(unsigned SLocOffset) const { in getFileIDLoaded()
897 SourceLocation SourceManager::
912 SourceLocation SourceManager::getSpellingLocSlowCase(SourceLocation Loc) const { in getSpellingLocSlowCase()
921 SourceLocation SourceManager::getFileLocSlowCase(SourceLocation Loc) const { in getFileLocSlowCase()
933 SourceManager::getDecomposedExpansionLocSlowCase( in getDecomposedExpansionLocSlowCase()
951 SourceManager::getDecomposedSpellingLocSlowCase(const SrcMgr::SLocEntry *E, in getDecomposedSpellingLocSlowCase()
972 SourceLocation SourceManager::getImmediateSpellingLoc(SourceLocation Loc) const{ in getImmediateSpellingLoc()
983 SourceManager::getImmediateExpansionRange(SourceLocation Loc) const { in getImmediateExpansionRange()
992 SourceManager::getExpansionRange(SourceLocation Loc) const { in getExpansionRange()
1007 bool SourceManager::isMacroArgExpansion(SourceLocation Loc) const { in isMacroArgExpansion()
1015 bool SourceManager::isMacroBodyExpansion(SourceLocation Loc) const { in isMacroBodyExpansion()
1023 bool SourceManager::isAtStartOfImmediateMacroExpansion(SourceLocation Loc, in isAtStartOfImmediateMacroExpansion()
1058 bool SourceManager::isAtEndOfImmediateMacroExpansion(SourceLocation Loc, in isAtEndOfImmediateMacroExpansion()
1101 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData()
1126 unsigned SourceManager::getColumnNumber(FileID FID, unsigned FilePos, in getColumnNumber()
1171 unsigned SourceManager::getSpellingColumnNumber(SourceLocation Loc, in getSpellingColumnNumber()
1178 unsigned SourceManager::getExpansionColumnNumber(SourceLocation Loc, in getExpansionColumnNumber()
1185 unsigned SourceManager::getPresumedColumnNumber(SourceLocation Loc, in getPresumedColumnNumber()
1198 const SourceManager &SM, bool &Invalid);
1201 const SourceManager &SM, bool &Invalid) { in ComputeLineNumbers()
1284 unsigned SourceManager::getLineNumber(FileID FID, unsigned FilePos, in getLineNumber()
1378 unsigned SourceManager::getSpellingLineNumber(SourceLocation Loc, in getSpellingLineNumber()
1384 unsigned SourceManager::getExpansionLineNumber(SourceLocation Loc, in getExpansionLineNumber()
1390 unsigned SourceManager::getPresumedLineNumber(SourceLocation Loc, in getPresumedLineNumber()
1405 SourceManager::getFileCharacteristic(SourceLocation Loc) const { in getFileCharacteristic()
1435 const char *SourceManager::getBufferName(SourceLocation Loc, in getBufferName()
1450 PresumedLoc SourceManager::getPresumedLoc(SourceLocation Loc, in getPresumedLoc()
1521 bool SourceManager::isInMainFile(SourceLocation Loc) const { in isInMainFile()
1545 unsigned SourceManager::getFileIDSize(FileID FID) const { in getFileIDSize()
1587 SourceLocation SourceManager::translateFileLineCol(const FileEntry *SourceFile, in translateFileLineCol()
1601 FileID SourceManager::translateFile(const FileEntry *SourceFile) const { in translateFile()
1716 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol()
1782 void SourceManager::computeMacroArgsCache(MacroArgsMap *&CachePtr, in computeMacroArgsCache()
1838 void SourceManager::associateFileChunkWithMacroArgExp( in associateFileChunkWithMacroArgExp()
1928 SourceManager::getMacroArgExpandedLocation(SourceLocation Loc) const { in getMacroArgExpandedLocation()
1955 SourceManager::getDecomposedIncludedLoc(FileID FID) const { in getDecomposedIncludedLoc()
1990 const SourceManager &SM) { in MoveUpIncludeHierarchy()
2001 InBeforeInTUCacheEntry &SourceManager::getInBeforeInTUCache(FileID LFID, in getInBeforeInTUCache()
2028 bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS, in isBeforeInTranslationUnit()
2106 void SourceManager::PrintStats() const { in PrintStats()
2138 SourceManager::MemoryBufferSizes SourceManager::getMemoryBufferSizes() const { in getMemoryBufferSizes()
2156 size_t SourceManager::getDataStructureSizes() const { in getDataStructureSizes()