clang API Documentation

Public Member Functions | Static Public Member Functions
clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo Class Reference

API for captured statement code generation. More...

#include <CodeGenFunction.h>

List of all members.

Public Member Functions

 CGCapturedStmtInfo (const CapturedStmt &S, CapturedRegionKind K=CR_Default)
virtual ~CGCapturedStmtInfo ()
CapturedRegionKind getKind () const
void setContextValue (llvm::Value *V)
llvm::ValuegetContextValue () const
const FieldDecllookup (const VarDecl *VD) const
 Lookup the captured field decl for a variable.
bool isCXXThisExprCaptured () const
FieldDeclgetThisFieldDecl () const
virtual void EmitBody (CodeGenFunction &CGF, Stmt *S)
 Emit the captured statement body.
virtual StringRef getHelperName () const
 Get the name of the capture helper.

Static Public Member Functions

static bool classof (const CGCapturedStmtInfo *)

Detailed Description

API for captured statement code generation.

Definition at line 183 of file CodeGenFunction.h.


Constructor & Destructor Documentation

Definition at line 1695 of file CodeGenFunction.cpp.


Member Function Documentation

Definition at line 217 of file CodeGenFunction.h.

virtual void clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::EmitBody ( CodeGenFunction CGF,
Stmt S 
) [inline, virtual]
virtual StringRef clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::getHelperName ( ) const [inline, virtual]

Get the name of the capture helper.

Definition at line 229 of file CodeGenFunction.h.

Referenced by clang::CodeGen::CodeGenFunction::GenerateCapturedStmtFunction().

Definition at line 203 of file CodeGenFunction.h.

Lookup the captured field decl for a variable.

Definition at line 210 of file CodeGenFunction.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(), and clang::CodeGen::CodeGenFunction::EmitOMPFirstprivateClause().


The documentation for this class was generated from the following files: