clang API Documentation

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)clang::SourceManager
AddLineNote(SourceLocation Loc, unsigned LineNo, int FilenameID, bool IsFileEntry, bool IsFileExit, bool IsSystemHeader, bool IsExternCHeader)clang::SourceManager
AllocateLoadedSLocEntries(unsigned NumSLocEntries, unsigned TotalSize)clang::SourceManager
ASTReader classclang::SourceManager [friend]
ASTWriter classclang::SourceManager [friend]
clearIDTables()clang::SourceManager
createExpansionLoc(SourceLocation Loc, SourceLocation ExpansionLocStart, SourceLocation ExpansionLocEnd, unsigned TokLength, int LoadedID=0, unsigned LoadedOffset=0)clang::SourceManager
createFileID(const FileEntry *SourceFile, SourceLocation IncludePos, SrcMgr::CharacteristicKind FileCharacter, int LoadedID=0, unsigned LoadedOffset=0)clang::SourceManager [inline]
createFileID(std::unique_ptr< llvm::MemoryBuffer > Buffer, SrcMgr::CharacteristicKind FileCharacter=SrcMgr::C_User, int LoadedID=0, unsigned LoadedOffset=0, SourceLocation IncludeLoc=SourceLocation())clang::SourceManager [inline]
createMacroArgExpansionLoc(SourceLocation Loc, SourceLocation ExpansionLoc, unsigned TokLength)clang::SourceManager
disableFileContentsOverride(const FileEntry *File)clang::SourceManager
fileinfo_begin() const clang::SourceManager [inline]
fileinfo_end() const clang::SourceManager [inline]
fileinfo_iterator typedefclang::SourceManager
getBuffer(FileID FID, SourceLocation Loc, bool *Invalid=nullptr) const clang::SourceManager [inline]
getBuffer(FileID FID, bool *Invalid=nullptr) const clang::SourceManager [inline]
getBufferData(FileID FID, bool *Invalid=nullptr) const clang::SourceManager
getBufferName(SourceLocation Loc, bool *Invalid=nullptr) const clang::SourceManager
getCharacterData(SourceLocation SL, bool *Invalid=nullptr) const clang::SourceManager
getColumnNumber(FileID FID, unsigned FilePos, bool *Invalid=nullptr) const clang::SourceManager
getContentCacheSize() const clang::SourceManager [inline]
getDataStructureSizes() const clang::SourceManager
getDecomposedExpansionLoc(SourceLocation Loc) const clang::SourceManager [inline]
getDecomposedIncludedLoc(FileID FID) const clang::SourceManager
getDecomposedLoc(SourceLocation Loc) const clang::SourceManager [inline]
getDecomposedSpellingLoc(SourceLocation Loc) const clang::SourceManager [inline]
getDiagnostics() const clang::SourceManager [inline]
getExpansionColumnNumber(SourceLocation Loc, bool *Invalid=nullptr) const clang::SourceManager
getExpansionLineNumber(SourceLocation Loc, bool *Invalid=nullptr) const clang::SourceManager
getExpansionLoc(SourceLocation Loc) const clang::SourceManager [inline]
getExpansionRange(SourceLocation Loc) const clang::SourceManager
getFileCharacteristic(SourceLocation Loc) const clang::SourceManager
getFileEntryForID(FileID FID) const clang::SourceManager [inline]
getFileEntryForSLocEntry(const SrcMgr::SLocEntry &sloc) const clang::SourceManager [inline]
getFileID(SourceLocation SpellingLoc) const clang::SourceManager [inline]
getFileIDSize(FileID FID) const clang::SourceManager
getFileLoc(SourceLocation Loc) const clang::SourceManager [inline]
getFileManager() const clang::SourceManager [inline]
getFilename(SourceLocation SpellingLoc) const clang::SourceManager [inline]
getFileOffset(SourceLocation SpellingLoc) const clang::SourceManager [inline]
getImmediateExpansionRange(SourceLocation Loc) const clang::SourceManager
getImmediateMacroCallerLoc(SourceLocation Loc) const clang::SourceManager [inline]
getImmediateSpellingLoc(SourceLocation Loc) const clang::SourceManager
getIncludeLoc(FileID FID) const clang::SourceManager [inline]
getLineNumber(FileID FID, unsigned FilePos, bool *Invalid=nullptr) const clang::SourceManager
getLineTable()clang::SourceManager
getLineTableFilenameID(StringRef Str)clang::SourceManager
getLoadedSLocEntry(unsigned Index, bool *Invalid=nullptr) const clang::SourceManager [inline]
getLocalSLocEntry(unsigned Index, bool *Invalid=nullptr) const clang::SourceManager [inline]
getLocForEndOfFile(FileID FID) const clang::SourceManager [inline]
getLocForStartOfFile(FileID FID) const clang::SourceManager [inline]
getMacroArgExpandedLocation(SourceLocation Loc) const clang::SourceManager
getMainFileID() const clang::SourceManager [inline]
getMemoryBufferForFile(const FileEntry *File, bool *Invalid=nullptr)clang::SourceManager
getMemoryBufferSizes() const clang::SourceManager
getModuleBuildStack() const clang::SourceManager [inline]
getModuleImportLoc(SourceLocation Loc) const clang::SourceManager [inline]
getNextLocalOffset() const clang::SourceManager [inline]
getNumCreatedFIDsForFileID(FileID FID) const clang::SourceManager [inline]
getPreambleFileID() const clang::SourceManager [inline]
getPresumedColumnNumber(SourceLocation Loc, bool *Invalid=nullptr) const clang::SourceManager
getPresumedLineNumber(SourceLocation Loc, bool *Invalid=nullptr) const clang::SourceManager
getPresumedLoc(SourceLocation Loc, bool UseLineDirectives=true) const clang::SourceManager
getSLocEntry(FileID FID, bool *Invalid=nullptr) const clang::SourceManager [inline]
getSpellingColumnNumber(SourceLocation Loc, bool *Invalid=nullptr) const clang::SourceManager
getSpellingLineNumber(SourceLocation Loc, bool *Invalid=nullptr) const clang::SourceManager
getSpellingLoc(SourceLocation Loc) const clang::SourceManager [inline]
hasFileInfo(const FileEntry *File) const clang::SourceManager [inline]
hasLineTable() const clang::SourceManager [inline]
isAtEndOfImmediateMacroExpansion(SourceLocation Loc, SourceLocation *MacroEnd=nullptr) const clang::SourceManager
isAtStartOfImmediateMacroExpansion(SourceLocation Loc, SourceLocation *MacroBegin=nullptr) const clang::SourceManager
isBeforeInSLocAddrSpace(SourceLocation LHS, SourceLocation RHS) const clang::SourceManager [inline]
isBeforeInSLocAddrSpace(SourceLocation LHS, unsigned RHS) const clang::SourceManager [inline]
isBeforeInTranslationUnit(SourceLocation LHS, SourceLocation RHS) const clang::SourceManager
isFileOverridden(const FileEntry *File)clang::SourceManager [inline]
isInExternCSystemHeader(SourceLocation Loc) const clang::SourceManager [inline]
isInFileID(SourceLocation Loc, FileID FID, unsigned *RelativeOffset=nullptr) const clang::SourceManager [inline]
isInMainFile(SourceLocation Loc) const clang::SourceManager
isInSameSLocAddrSpace(SourceLocation LHS, SourceLocation RHS, int *RelativeOffset) const clang::SourceManager [inline]
isInSLocAddrSpace(SourceLocation Loc, SourceLocation Start, unsigned Length, unsigned *RelativeOffset=nullptr) const clang::SourceManager [inline]
isInSystemHeader(SourceLocation Loc) const clang::SourceManager [inline]
isInSystemMacro(SourceLocation loc)clang::SourceManager [inline]
isLoadedFileID(FileID FID) const clang::SourceManager [inline]
isLoadedSourceLocation(SourceLocation Loc) const clang::SourceManager [inline]
isLocalFileID(FileID FID) const clang::SourceManager [inline]
isLocalSourceLocation(SourceLocation Loc) const clang::SourceManager [inline]
isMacroArgExpansion(SourceLocation Loc) const clang::SourceManager
isMacroBodyExpansion(SourceLocation Loc) const clang::SourceManager
isWrittenInMainFile(SourceLocation Loc) const clang::SourceManager [inline]
isWrittenInSameFile(SourceLocation Loc1, SourceLocation Loc2) const clang::SourceManager [inline]
loaded_sloc_entry_size() const clang::SourceManager [inline]
local_sloc_entry_size() const clang::SourceManager [inline]
overrideFileContents(const FileEntry *SourceFile, llvm::MemoryBuffer *Buffer, bool DoNotFree)clang::SourceManager
overrideFileContents(const FileEntry *SourceFile, std::unique_ptr< llvm::MemoryBuffer > Buffer)clang::SourceManager [inline]
overrideFileContents(const FileEntry *SourceFile, const FileEntry *NewFile)clang::SourceManager
PrintStats() const clang::SourceManager
pushModuleBuildStack(StringRef moduleName, FullSourceLoc importLoc)clang::SourceManager [inline]
setExternalSLocEntrySource(ExternalSLocEntrySource *Source)clang::SourceManager [inline]
setMainFileID(FileID FID)clang::SourceManager [inline]
setModuleBuildStack(ModuleBuildStack stack)clang::SourceManager [inline]
setNumCreatedFIDsForFileID(FileID FID, unsigned NumFIDs) const clang::SourceManager [inline]
setOverridenFilesKeepOriginalName(bool value)clang::SourceManager [inline]
setPreambleFileID(FileID Preamble)clang::SourceManager [inline]
SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, bool UserFilesAreVolatile=false)clang::SourceManager
translateFile(const FileEntry *SourceFile) const clang::SourceManager
translateFileLineCol(const FileEntry *SourceFile, unsigned Line, unsigned Col) const clang::SourceManager
translateLineCol(FileID FID, unsigned Line, unsigned Col) const clang::SourceManager
userFilesAreVolatile() const clang::SourceManager [inline]
~SourceManager()clang::SourceManager