clang
10.0.0git
|
RAII object to handle the state changes required to synthesize a function body. More...
#include "clang/Sema/Sema.h"
Public Member Functions | |
SynthesizedFunctionScope (Sema &S, DeclContext *DC) | |
void | addContextNote (SourceLocation UseLoc) |
~SynthesizedFunctionScope () | |
RAII object to handle the state changes required to synthesize a function body.
|
inline |
Definition at line 846 of file Sema.h.
References clang::Sema::PushExpressionEvaluationContext(), and clang::Sema::PushFunctionScope().
|
inline |
Definition at line 869 of file Sema.h.
References clang::Sema::CurContext, clang::Sema::popCodeSynthesisContext(), clang::Sema::PopExpressionEvaluationContext(), and clang::Sema::PopFunctionScopeInfo().
|
inline |
Definition at line 857 of file Sema.h.
References clang::Sema::CurContext, clang::Sema::CodeSynthesisContext::Entity, clang::Sema::CodeSynthesisContext::Kind, clang::Sema::CodeSynthesisContext::PointOfInstantiation, and clang::Sema::pushCodeSynthesisContext().
Referenced by clang::Sema::DefineDefaultedComparison(), clang::Sema::DefineImplicitCopyAssignment(), clang::Sema::DefineImplicitCopyConstructor(), clang::Sema::DefineImplicitDefaultConstructor(), clang::Sema::DefineImplicitDestructor(), clang::Sema::DefineImplicitMoveAssignment(), clang::Sema::DefineImplicitMoveConstructor(), and clang::Sema::DefineInheritingConstructor().