clang  5.0.0
Public Member Functions | Static Public Member Functions | List of all members
clang::CodeGen::CodeGenFunction::ConstantEmission Class Reference

#include "/usr/local/google/work/llvm-www-releases/5.0.0/docsbuild/llvm.src/tools/clang/lib/CodeGen/CodeGenFunction.h"

Public Member Functions

 ConstantEmission ()
 
 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 3129 of file CodeGenFunction.h.

Constructor & Destructor Documentation

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

Definition at line 3134 of file CodeGenFunction.h.

Referenced by forReference(), and forValue().

Member Function Documentation

static ConstantEmission clang::CodeGen::CodeGenFunction::ConstantEmission::forReference ( llvm::Constant *  C)
inlinestatic

Definition at line 3135 of file CodeGenFunction.h.

References ConstantEmission().

static ConstantEmission clang::CodeGen::CodeGenFunction::ConstantEmission::forValue ( llvm::Constant *  C)
inlinestatic

Definition at line 3138 of file CodeGenFunction.h.

References ConstantEmission().

LValue clang::CodeGen::CodeGenFunction::ConstantEmission::getReferenceLValue ( CodeGenFunction CGF,
Expr refExpr 
) const
inline
llvm::Constant* clang::CodeGen::CodeGenFunction::ConstantEmission::getValue ( ) const
inline

Definition at line 3153 of file CodeGenFunction.h.

References isReference().

bool clang::CodeGen::CodeGenFunction::ConstantEmission::isReference ( ) const
inline

Definition at line 3146 of file CodeGenFunction.h.

Referenced by getReferenceLValue(), and getValue().

clang::CodeGen::CodeGenFunction::ConstantEmission::operator bool ( ) const
inlineexplicit

Definition at line 3142 of file CodeGenFunction.h.


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