clang-tools 20.0.0git
|
The captured AST context. More...
#include <Preamble.h>
Public Member Functions | |
CapturedASTCtx (CompilerInstance &Clang) | |
CapturedASTCtx (const CapturedASTCtx &)=delete | |
CapturedASTCtx & | operator= (const CapturedASTCtx &)=delete |
CapturedASTCtx (CapturedASTCtx &&)=default | |
CapturedASTCtx & | operator= (CapturedASTCtx &&)=default |
ASTContext & | getASTContext () |
Preprocessor & | getPreprocessor () |
CompilerInvocation & | getCompilerInvocation () |
FileManager & | getFileManager () |
void | setStatCache (std::shared_ptr< PreambleFileStatusCache > StatCache) |
The captured AST context.
Keeps necessary structs for an ASTContext and Preprocessor alive. This enables consuming them after context that produced the AST is gone. (e.g. indexing a preamble ast on a separate thread). ASTContext stored inside is still not thread-safe.
Definition at line 59 of file Preamble.h.
|
inline |
Definition at line 61 of file Preamble.h.
|
delete |
|
default |
|
inline |
Definition at line 73 of file Preamble.h.
|
inline |
Definition at line 75 of file Preamble.h.
|
inline |
Definition at line 76 of file Preamble.h.
|
inline |
Definition at line 74 of file Preamble.h.
|
default |
|
delete |
|
inline |
Definition at line 77 of file Preamble.h.