class Sema::SynthesizedFunctionScope
Declaration
class Sema::SynthesizedFunctionScope { /* full declaration omitted */ };
Description
RAII object to handle the state changes required to synthesize a function body.
Declared at: clang/include/clang/Sema/Sema.h:1048
Member Variables
- private clang::Sema& S
- private Sema::ContextRAII SavedContext
- private bool PushedCodeSynthesisContext = false
Method Overview
- public SynthesizedFunctionScope(clang::Sema & S, clang::DeclContext * DC)
- public void addContextNote(clang::SourceLocation UseLoc)
- public ~SynthesizedFunctionScope()
Methods
¶SynthesizedFunctionScope(clang::Sema& S,
clang::DeclContext* DC)
SynthesizedFunctionScope(clang::Sema& S,
clang::DeclContext* DC)
Declared at: clang/include/clang/Sema/Sema.h:1054
Parameters
¶void addContextNote(clang::SourceLocation UseLoc)
void addContextNote(clang::SourceLocation UseLoc)
Declared at: clang/include/clang/Sema/Sema.h:1065
Parameters
- clang::SourceLocation UseLoc
¶~SynthesizedFunctionScope()
~SynthesizedFunctionScope()
Declared at: clang/include/clang/Sema/Sema.h:1077