clang: include/clang/Sema/SemaConsumer.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef LLVM_CLANG_SEMA_SEMACONSUMER_H
15#define LLVM_CLANG_SEMA_SEMACONSUMER_H
16
18
20 class Sema;
21
22
23
24
26 virtual void anchor();
27 public:
29 ASTConsumer::SemaConsumer = true;
30 }
31
32
33
34
36
37
39
40
42 return Consumer->SemaConsumer;
43 }
44 };
45}
46
47#endif
ASTConsumer - This is an abstract interface that should be implemented by clients that read ASTs.
An abstract interface that should be implemented by clients that read ASTs and then require further s...
static bool classof(const ASTConsumer *Consumer)
virtual void InitializeSema(Sema &S)
Initialize the semantic consumer with the Sema instance being used to perform semantic analysis on th...
virtual void ForgetSema()
Inform the semantic consumer that Sema is no longer available.
Sema - This implements semantic analysis and AST building for C.
The JSON file list parser is used to communicate input to InstallAPI.