clang 20.0.0git
clang::SourceManager Member List

This is the complete list of members for clang::SourceManager, including all inherited members.

AddLineNote(SourceLocation Loc, unsigned LineNo, int FilenameID, bool IsFileEntry, bool IsFileExit, SrcMgr::CharacteristicKind FileKind)clang::SourceManager
AllocateLoadedSLocEntries(unsigned NumSLocEntries, SourceLocation::UIntTy TotalSize)clang::SourceManager
ASTReaderclang::SourceManagerfriend
ASTWriterclang::SourceManagerfriend
bypassFileContentsOverride(FileEntryRef File)clang::SourceManager
clearIDTables()clang::SourceManager
createExpansionLoc(SourceLocation SpellingLoc, SourceLocation ExpansionLocStart, SourceLocation ExpansionLocEnd, unsigned Length, bool ExpansionIsTokenRange=true, int LoadedID=0, SourceLocation::UIntTy LoadedOffset=0)clang::SourceManager
createFileID(FileEntryRef SourceFile, SourceLocation IncludePos, SrcMgr::CharacteristicKind FileCharacter, int LoadedID=0, SourceLocation::UIntTy LoadedOffset=0)clang::SourceManager
createFileID(std::unique_ptr< llvm::MemoryBuffer > Buffer, SrcMgr::CharacteristicKind FileCharacter=SrcMgr::C_User, int LoadedID=0, SourceLocation::UIntTy LoadedOffset=0, SourceLocation IncludeLoc=SourceLocation())clang::SourceManager
createFileID(const llvm::MemoryBufferRef &Buffer, SrcMgr::CharacteristicKind FileCharacter=SrcMgr::C_User, int LoadedID=0, SourceLocation::UIntTy LoadedOffset=0, SourceLocation IncludeLoc=SourceLocation())clang::SourceManager
createMacroArgExpansionLoc(SourceLocation SpellingLoc, SourceLocation ExpansionLoc, unsigned Length)clang::SourceManager
createTokenSplitLoc(SourceLocation SpellingLoc, SourceLocation TokenStart, SourceLocation TokenEnd)clang::SourceManager
dump() constclang::SourceManager
fileinfo_begin() constclang::SourceManagerinline
fileinfo_end() constclang::SourceManagerinline
fileinfo_iterator typedefclang::SourceManager
getBufferData(FileID FID, bool *Invalid=nullptr) constclang::SourceManager
getBufferDataIfLoaded(FileID FID) constclang::SourceManager
getBufferDataOrNone(FileID FID) constclang::SourceManager
getBufferName(SourceLocation Loc, bool *Invalid=nullptr) constclang::SourceManager
getBufferOrFake(FileID FID, SourceLocation Loc=SourceLocation()) constclang::SourceManagerinline
getBufferOrNone(FileID FID, SourceLocation Loc=SourceLocation()) constclang::SourceManagerinline
getCharacterData(SourceLocation SL, bool *Invalid=nullptr) constclang::SourceManager
getColumnNumber(FileID FID, unsigned FilePos, bool *Invalid=nullptr) constclang::SourceManager
getComposedLoc(FileID FID, unsigned Offset) constclang::SourceManagerinline
getContentCacheSize() constclang::SourceManagerinline
getDataStructureSizes() constclang::SourceManager
getDecomposedExpansionLoc(SourceLocation Loc) constclang::SourceManagerinline
getDecomposedIncludedLoc(FileID FID) constclang::SourceManager
getDecomposedLoc(SourceLocation Loc) constclang::SourceManagerinline
getDecomposedSpellingLoc(SourceLocation Loc) constclang::SourceManagerinline
getDiagnostics() constclang::SourceManagerinline
getExpansionColumnNumber(SourceLocation Loc, bool *Invalid=nullptr) constclang::SourceManager
getExpansionLineNumber(SourceLocation Loc, bool *Invalid=nullptr) constclang::SourceManager
getExpansionLoc(SourceLocation Loc) constclang::SourceManagerinline
getExpansionRange(SourceLocation Loc) constclang::SourceManager
getExpansionRange(SourceRange Range) constclang::SourceManagerinline
getExpansionRange(CharSourceRange Range) constclang::SourceManagerinline
getFileCharacteristic(SourceLocation Loc) constclang::SourceManager
getFileEntryForID(FileID FID) constclang::SourceManagerinline
getFileEntryForSLocEntry(const SrcMgr::SLocEntry &SLocEntry) constclang::SourceManagerinline
getFileEntryRefForID(FileID FID) constclang::SourceManagerinline
getFileID(SourceLocation SpellingLoc) constclang::SourceManagerinline
getFileIDSize(FileID FID) constclang::SourceManager
getFileLoc(SourceLocation Loc) constclang::SourceManagerinline
getFileManager() constclang::SourceManagerinline
getFilename(SourceLocation SpellingLoc) constclang::SourceManager
getFileOffset(SourceLocation SpellingLoc) constclang::SourceManagerinline
getImmediateExpansionRange(SourceLocation Loc) constclang::SourceManager
getImmediateMacroCallerLoc(SourceLocation Loc) constclang::SourceManagerinline
getImmediateSpellingLoc(SourceLocation Loc) constclang::SourceManager
getIncludeLoc(FileID FID) constclang::SourceManagerinline
getLineNumber(FileID FID, unsigned FilePos, bool *Invalid=nullptr) constclang::SourceManager
getLineTable()clang::SourceManager
getLineTableFilenameID(StringRef Str)clang::SourceManager
getLoadedSLocEntry(unsigned Index, bool *Invalid=nullptr) constclang::SourceManagerinline
getLoadedSLocEntry(unsigned Index, bool *Invalid=nullptr)clang::SourceManagerinline
getLocalSLocEntry(unsigned Index) constclang::SourceManagerinline
getLocalSLocEntry(unsigned Index)clang::SourceManagerinline
getLocForEndOfFile(FileID FID) constclang::SourceManagerinline
getLocForStartOfFile(FileID FID) constclang::SourceManagerinline
getMacroArgExpandedLocation(SourceLocation Loc) constclang::SourceManager
getMainFileID() constclang::SourceManagerinline
getMemoryBufferForFileOrFake(FileEntryRef File)clang::SourceManagerinline
getMemoryBufferForFileOrNone(FileEntryRef File)clang::SourceManager
getMemoryBufferSizes() constclang::SourceManager
getModuleBuildStack() constclang::SourceManagerinline
getModuleImportLoc(SourceLocation Loc) constclang::SourceManagerinline
getNextLocalOffset() constclang::SourceManagerinline
getNonBuiltinFilenameForID(FileID FID) constclang::SourceManager
getNumCreatedFIDsForFileID(FileID FID) constclang::SourceManagerinline
getOrCreateFileID(FileEntryRef SourceFile, SrcMgr::CharacteristicKind FileCharacter)clang::SourceManager
getPreambleFileID() constclang::SourceManagerinline
getPresumedColumnNumber(SourceLocation Loc, bool *Invalid=nullptr) constclang::SourceManager
getPresumedLineNumber(SourceLocation Loc, bool *Invalid=nullptr) constclang::SourceManager
getPresumedLoc(SourceLocation Loc, bool UseLineDirectives=true) constclang::SourceManager
getSLocEntry(FileID FID, bool *Invalid=nullptr) constclang::SourceManagerinline
getSLocEntry(FileID FID, bool *Invalid=nullptr)clang::SourceManagerinline
getSpellingColumnNumber(SourceLocation Loc, bool *Invalid=nullptr) constclang::SourceManager
getSpellingLineNumber(SourceLocation Loc, bool *Invalid=nullptr) constclang::SourceManager
getSpellingLoc(SourceLocation Loc) constclang::SourceManagerinline
getTopMacroCallerLoc(SourceLocation Loc) constclang::SourceManager
getUniqueLoadedASTFileID(SourceLocation Loc) constclang::SourceManager
hasFileInfo(const FileEntry *File) constclang::SourceManagerinline
hasLineTable() constclang::SourceManagerinline
initializeForReplay(const SourceManager &Old)clang::SourceManager
isAtEndOfImmediateMacroExpansion(SourceLocation Loc, SourceLocation *MacroEnd=nullptr) constclang::SourceManager
isAtStartOfImmediateMacroExpansion(SourceLocation Loc, SourceLocation *MacroBegin=nullptr) constclang::SourceManager
isBeforeInSLocAddrSpace(SourceLocation LHS, SourceLocation RHS) constclang::SourceManagerinline
isBeforeInSLocAddrSpace(SourceLocation LHS, SourceLocation::UIntTy RHS) constclang::SourceManagerinline
isBeforeInTranslationUnit(SourceLocation LHS, SourceLocation RHS) constclang::SourceManager
isFileOverridden(const FileEntry *File) constclang::SourceManagerinline
isInExternCSystemHeader(SourceLocation Loc) constclang::SourceManagerinline
isInFileID(SourceLocation Loc, FileID FID, unsigned *RelativeOffset=nullptr) constclang::SourceManagerinline
isInMainFile(SourceLocation Loc) constclang::SourceManager
isInSameSLocAddrSpace(SourceLocation LHS, SourceLocation RHS, SourceLocation::IntTy *RelativeOffset) constclang::SourceManagerinline
isInSLocAddrSpace(SourceLocation Loc, SourceLocation Start, unsigned Length, SourceLocation::UIntTy *RelativeOffset=nullptr) constclang::SourceManagerinline
isInSystemHeader(SourceLocation Loc) constclang::SourceManagerinline
isInSystemMacro(SourceLocation loc) constclang::SourceManagerinline
isInTheSameTranslationUnit(std::pair< FileID, unsigned > &LOffs, std::pair< FileID, unsigned > &ROffs) constclang::SourceManager
isInTheSameTranslationUnitImpl(const std::pair< FileID, unsigned > &LOffs, const std::pair< FileID, unsigned > &ROffs) constclang::SourceManager
isLoadedFileID(FileID FID) constclang::SourceManagerinline
isLoadedSourceLocation(SourceLocation Loc) constclang::SourceManagerinline
isLocalFileID(FileID FID) constclang::SourceManagerinline
isLocalSourceLocation(SourceLocation Loc) constclang::SourceManagerinline
isMacroArgExpansion(SourceLocation Loc, SourceLocation *StartLoc=nullptr) constclang::SourceManager
isMacroBodyExpansion(SourceLocation Loc) constclang::SourceManager
isMainFile(const FileEntry &SourceFile)clang::SourceManager
isPointWithin(SourceLocation Location, SourceLocation Start, SourceLocation End) constclang::SourceManagerinline
isWrittenInBuiltinFile(SourceLocation Loc) constclang::SourceManagerinline
isWrittenInCommandLineFile(SourceLocation Loc) constclang::SourceManagerinline
isWrittenInMainFile(SourceLocation Loc) constclang::SourceManagerinline
isWrittenInSameFile(SourceLocation Loc1, SourceLocation Loc2) constclang::SourceManagerinline
isWrittenInScratchSpace(SourceLocation Loc) constclang::SourceManagerinline
loaded_sloc_entry_size() constclang::SourceManagerinline
local_sloc_entry_size() constclang::SourceManagerinline
noteSLocAddressSpaceUsage(DiagnosticsEngine &Diag, std::optional< unsigned > MaxNotes=32) constclang::SourceManager
operator=(const SourceManager &)=deleteclang::SourceManager
overrideFileContents(FileEntryRef SourceFile, const llvm::MemoryBufferRef &Buffer)clang::SourceManagerinline
overrideFileContents(FileEntryRef SourceFile, std::unique_ptr< llvm::MemoryBuffer > Buffer)clang::SourceManager
overrideFileContents(const FileEntry *SourceFile, FileEntryRef NewFile)clang::SourceManager
PrintStats() constclang::SourceManager
pushModuleBuildStack(StringRef moduleName, FullSourceLoc importLoc)clang::SourceManagerinline
setAllFilesAreTransient(bool Transient)clang::SourceManagerinline
setExternalSLocEntrySource(ExternalSLocEntrySource *Source)clang::SourceManagerinline
setFileIsTransient(FileEntryRef SourceFile)clang::SourceManager
setMainFileID(FileID FID)clang::SourceManagerinline
setModuleBuildStack(ModuleBuildStack stack)clang::SourceManagerinline
setNumCreatedFIDsForFileID(FileID FID, unsigned NumFIDs, bool Force=false)clang::SourceManagerinline
setOverridenFilesKeepOriginalName(bool value)clang::SourceManagerinline
setPreambleFileID(FileID Preamble)clang::SourceManagerinline
SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, bool UserFilesAreVolatile=false)clang::SourceManager
SourceManager(const SourceManager &)=deleteclang::SourceManagerexplicit
translateFile(const FileEntry *SourceFile) constclang::SourceManager
translateFile(FileEntryRef SourceFile) constclang::SourceManagerinline
translateFileLineCol(const FileEntry *SourceFile, unsigned Line, unsigned Col) constclang::SourceManager
translateLineCol(FileID FID, unsigned Line, unsigned Col) constclang::SourceManager
userFilesAreVolatile() constclang::SourceManagerinline
~SourceManager()clang::SourceManager