|
clang 24.0.0git
|
Classes implementing SemaProxy present a restricted view of the (possibly mutating) actions and queries defined by language semantics against the representation of the program (i.e., the AST). More...
#include "clang/AST/SemaProxy.h"
Public Member Functions | |
| virtual | ~SemaProxy ()=default |
| virtual void | instantiateFunctionDefinition (SourceLocation PointOfInstantiation, FunctionDecl *Function)=0 |
Classes implementing SemaProxy present a restricted view of the (possibly mutating) actions and queries defined by language semantics against the representation of the program (i.e., the AST).
Such a view is required in order to evaluate certain expressions (e.g., C++'s manifestly constant-evaluated expressions) according to language rules.
Definition at line 29 of file SemaProxy.h.
|
virtualdefault |
|
pure virtual |
Implemented in clang::sema::EvalProxy.
References clang::Function.
Referenced by clang::interp::compileFunction(), and TryInstantiateFunctionBeforeCall().