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

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/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 4363 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ ConstantEmission()

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

Definition at line 4368 of file CodeGenFunction.h.

Referenced by forReference(), and forValue().

Member Function Documentation

◆ forReference()

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

Definition at line 4369 of file CodeGenFunction.h.

References clang::C, and ConstantEmission().

◆ forValue()

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

Definition at line 4372 of file CodeGenFunction.h.

References clang::C, and ConstantEmission().

◆ getReferenceLValue()

LValue clang::CodeGen::CodeGenFunction::ConstantEmission::getReferenceLValue ( CodeGenFunction CGF,
Expr refExpr 
) const
inline

◆ getValue()

llvm::Constant * clang::CodeGen::CodeGenFunction::ConstantEmission::getValue ( ) const
inline

Definition at line 4387 of file CodeGenFunction.h.

References isReference().

◆ isReference()

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

Definition at line 4380 of file CodeGenFunction.h.

Referenced by getReferenceLValue(), and getValue().

◆ operator bool()

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

Definition at line 4376 of file CodeGenFunction.h.

References bool.


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