clang API Documentation
addFileLevelDecl(Decl *D) | clang::ASTUnit | |
addTemporaryFile(StringRef TempFile) | clang::ASTUnit | |
addTopLevelDecl(Decl *D) | clang::ASTUnit | [inline] |
addTopLevelDeclFromPreamble(serialization::DeclID D) | clang::ASTUnit | [inline] |
buildingModule() const | clang::ModuleLoader | [inline] |
cached_completion_begin() | clang::ASTUnit | [inline] |
cached_completion_end() | clang::ASTUnit | [inline] |
cached_completion_iterator typedef | clang::ASTUnit | |
cached_completion_size() const | clang::ASTUnit | [inline] |
CodeComplete(StringRef File, unsigned Line, unsigned Column, ArrayRef< RemappedFile > RemappedFiles, bool IncludeMacros, bool IncludeCodePatterns, bool IncludeBriefComments, CodeCompleteConsumer &Consumer, DiagnosticsEngine &Diag, LangOptions &LangOpts, SourceManager &SourceMgr, FileManager &FileMgr, SmallVectorImpl< StoredDiagnostic > &StoredDiagnostics, SmallVectorImpl< const llvm::MemoryBuffer * > &OwnedBuffers) | clang::ASTUnit | |
ConcurrencyCheck class | clang::ASTUnit | [friend] |
create(CompilerInvocation *CI, IntrusiveRefCntPtr< DiagnosticsEngine > Diags, bool CaptureDiagnostics, bool UserFilesAreVolatile) | clang::ASTUnit | [static] |
DeclVisitorFn typedef | clang::ASTUnit | |
findFileRegionDecls(FileID File, unsigned Offset, unsigned Length, SmallVectorImpl< Decl * > &Decls) | clang::ASTUnit | |
getASTContext() const | clang::ASTUnit | [inline] |
getASTContext() | clang::ASTUnit | [inline] |
getASTFileName() const | clang::ASTUnit | |
getASTMutationListener() | clang::ASTUnit | |
getBufferForFile(StringRef Filename, std::string *ErrorStr=nullptr) | clang::ASTUnit | |
getCachedCompletionAllocator() | clang::ASTUnit | [inline] |
getCachedCompletionTypes() | clang::ASTUnit | [inline] |
getCodeCompletionTUInfo() | clang::ASTUnit | [inline] |
getCurrentTopLevelHashValue() | clang::ASTUnit | [inline] |
getDeserializationListener() | clang::ASTUnit | |
getDiagnostics() const | clang::ASTUnit | [inline] |
getDiagnostics() | clang::ASTUnit | [inline] |
getEndOfPreambleFileID() | clang::ASTUnit | |
getFileManager() const | clang::ASTUnit | [inline] |
getFileManager() | clang::ASTUnit | [inline] |
getFileSystemOpts() const | clang::ASTUnit | [inline] |
getLangOpts() const | clang::ASTUnit | [inline] |
getLocalPreprocessingEntities() const | clang::ASTUnit | |
getLocation(const FileEntry *File, unsigned Line, unsigned Col) const | clang::ASTUnit | |
getLocation(const FileEntry *File, unsigned Offset) const | clang::ASTUnit | |
getMainFileName() const | clang::ASTUnit | |
getOnlyLocalDecls() const | clang::ASTUnit | [inline] |
getOriginalSourceFileName() | clang::ASTUnit | [inline] |
getOwnsRemappedFileBuffers() const | clang::ASTUnit | [inline] |
getPCHFile() | clang::ASTUnit | |
getPreambleData() const | clang::ASTUnit | [inline] |
getPreprocessor() const | clang::ASTUnit | [inline] |
getPreprocessor() | clang::ASTUnit | [inline] |
getSema() const | clang::ASTUnit | [inline] |
getSourceManager() const | clang::ASTUnit | [inline] |
getSourceManager() | clang::ASTUnit | [inline] |
getStartOfMainFileID() | clang::ASTUnit | |
getTranslationUnitKind() const | clang::ASTUnit | [inline] |
HadFatalFailure | clang::ModuleLoader | |
hasSema() const | clang::ASTUnit | [inline] |
isInMainFileID(SourceLocation Loc) | clang::ASTUnit | |
isInPreambleFileID(SourceLocation Loc) | clang::ASTUnit | |
isMainFileAST() const | clang::ASTUnit | [inline] |
isModuleFile() | clang::ASTUnit | |
isUnsafeToFree() const | clang::ASTUnit | [inline] |
LoadFromASTFile(const std::string &Filename, IntrusiveRefCntPtr< DiagnosticsEngine > Diags, const FileSystemOptions &FileSystemOpts, bool OnlyLocalDecls=false, ArrayRef< RemappedFile > RemappedFiles=None, bool CaptureDiagnostics=false, bool AllowPCHWithCompilerErrors=false, bool UserFilesAreVolatile=false) | clang::ASTUnit | [static] |
LoadFromCommandLine(const char **ArgBegin, const char **ArgEnd, IntrusiveRefCntPtr< DiagnosticsEngine > Diags, StringRef ResourceFilesPath, bool OnlyLocalDecls=false, bool CaptureDiagnostics=false, ArrayRef< RemappedFile > RemappedFiles=None, bool RemappedFilesKeepOriginalName=true, bool PrecompilePreamble=false, TranslationUnitKind TUKind=TU_Complete, bool CacheCodeCompletionResults=false, bool IncludeBriefCommentsInCodeCompletion=false, bool AllowPCHWithCompilerErrors=false, bool SkipFunctionBodies=false, bool UserFilesAreVolatile=false, bool ForSerialization=false, std::unique_ptr< ASTUnit > *ErrAST=nullptr) | clang::ASTUnit | [static] |
LoadFromCompilerInvocation(CompilerInvocation *CI, IntrusiveRefCntPtr< DiagnosticsEngine > Diags, bool OnlyLocalDecls=false, bool CaptureDiagnostics=false, bool PrecompilePreamble=false, TranslationUnitKind TUKind=TU_Complete, bool CacheCodeCompletionResults=false, bool IncludeBriefCommentsInCodeCompletion=false, bool UserFilesAreVolatile=false) | clang::ASTUnit | [static] |
LoadFromCompilerInvocationAction(CompilerInvocation *CI, IntrusiveRefCntPtr< DiagnosticsEngine > Diags, ASTFrontendAction *Action=nullptr, ASTUnit *Unit=nullptr, bool Persistent=true, StringRef ResourceFilesPath=StringRef(), bool OnlyLocalDecls=false, bool CaptureDiagnostics=false, bool PrecompilePreamble=false, bool CacheCodeCompletionResults=false, bool IncludeBriefCommentsInCodeCompletion=false, bool UserFilesAreVolatile=false, std::unique_ptr< ASTUnit > *ErrAST=nullptr) | clang::ASTUnit | [static] |
loadGlobalModuleIndex(SourceLocation TriggerLoc) override | clang::ASTUnit | [inline, virtual] |
loadModule(SourceLocation ImportLoc, ModuleIdPath Path, Module::NameVisibilityKind Visibility, bool IsInclusionDirective) override | clang::ASTUnit | [inline, virtual] |
lookupMissingImports(StringRef Name, SourceLocation TriggerLoc) override | clang::ASTUnit | [inline, virtual] |
makeModuleVisible(Module *Mod, Module::NameVisibilityKind Visibility, SourceLocation ImportLoc, bool Complain) override | clang::ASTUnit | [inline, virtual] |
mapLocationFromPreamble(SourceLocation Loc) | clang::ASTUnit | |
mapLocationToPreamble(SourceLocation Loc) | clang::ASTUnit | |
mapRangeFromPreamble(SourceRange R) | clang::ASTUnit | [inline] |
mapRangeToPreamble(SourceRange R) | clang::ASTUnit | [inline] |
ModuleLoader(bool BuildingModule=false) | clang::ModuleLoader | [inline, explicit] |
RemappedFile typedef | clang::ASTUnit | |
Reparse(ArrayRef< RemappedFile > RemappedFiles=None) | clang::ASTUnit | |
Save(StringRef File) | clang::ASTUnit | |
serialize(raw_ostream &OS) | clang::ASTUnit | |
setASTContext(ASTContext *ctx) | clang::ASTUnit | [inline] |
setBuildingModule(bool BuildingModuleFlag) | clang::ModuleLoader | [inline] |
setOwnsRemappedFileBuffers(bool val) | clang::ASTUnit | [inline] |
setPreprocessor(Preprocessor *pp) | clang::ASTUnit | |
setUnsafeToFree(bool Value) | clang::ASTUnit | [inline] |
stored_diag_afterDriver_begin() | clang::ASTUnit | [inline] |
stored_diag_begin() const | clang::ASTUnit | [inline] |
stored_diag_begin() | clang::ASTUnit | [inline] |
stored_diag_const_iterator typedef | clang::ASTUnit | |
stored_diag_end() const | clang::ASTUnit | [inline] |
stored_diag_end() | clang::ASTUnit | [inline] |
stored_diag_iterator typedef | clang::ASTUnit | |
stored_diag_size() const | clang::ASTUnit | [inline] |
top_level_begin() | clang::ASTUnit | [inline] |
top_level_empty() const | clang::ASTUnit | [inline] |
top_level_end() | clang::ASTUnit | [inline] |
top_level_iterator typedef | clang::ASTUnit | |
top_level_size() const | clang::ASTUnit | [inline] |
visitLocalTopLevelDecls(void *context, DeclVisitorFn Fn) | clang::ASTUnit | |
~ASTUnit() | clang::ASTUnit | |
~ModuleLoader() | clang::ModuleLoader | [virtual] |