clang API Documentation

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

#include <CodeGenFunction.h>

List of all members.

Public Member Functions

 ConstantEmission ()
LLVM_EXPLICIT operator bool () const
bool isReference () const
LValue getReferenceLValue (CodeGenFunction &CGF, Expr *refExpr) const
llvm::Constant * getValue () const

Static Public Member Functions

static ConstantEmission forReference (llvm::Constant *C)
static ConstantEmission forValue (llvm::Constant *C)

Detailed Description

Definition at line 2201 of file CodeGenFunction.h.


Constructor & Destructor Documentation

clang::CodeGen::CodeGenFunction::ConstantEmission::ConstantEmission ( ) [inline]

Definition at line 2206 of file CodeGenFunction.h.

Referenced by forReference(), and forValue().


Member Function Documentation

static ConstantEmission clang::CodeGen::CodeGenFunction::ConstantEmission::forValue ( llvm::Constant *  C) [inline, static]

Definition at line 2225 of file CodeGenFunction.h.

References isReference().

Definition at line 2218 of file CodeGenFunction.h.

Referenced by getReferenceLValue(), and getValue().

LLVM_EXPLICIT clang::CodeGen::CodeGenFunction::ConstantEmission::operator bool ( ) const [inline]

Definition at line 2214 of file CodeGenFunction.h.


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