clang 22.0.0git
clang::CodeGen::CodeGenFunction::CXXDefaultInitExprScope Class Reference

The scope of a CXXDefaultInitExpr. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CodeGenFunction.h"

Public Member Functions

 CXXDefaultInitExprScope (CodeGenFunction &CGF, const CXXDefaultInitExpr *E)
 ~CXXDefaultInitExprScope ()

Public Attributes

CodeGenFunctionCGF
llvm::Value * OldCXXThisValue
CharUnits OldCXXThisAlignment
SourceLocExprScopeGuard SourceLocScope

Detailed Description

The scope of a CXXDefaultInitExpr.

Within this scope, the value of 'this' is overridden to be the object under construction.

Definition at line 1780 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ CXXDefaultInitExprScope()

clang::CodeGen::CodeGenFunction::CXXDefaultInitExprScope::CXXDefaultInitExprScope ( CodeGenFunction & CGF,
const CXXDefaultInitExpr * E )
inline

◆ ~CXXDefaultInitExprScope()

clang::CodeGen::CodeGenFunction::CXXDefaultInitExprScope::~CXXDefaultInitExprScope ( )
inline

Definition at line 1789 of file CodeGenFunction.h.

References CGF, OldCXXThisAlignment, and OldCXXThisValue.

Member Data Documentation

◆ CGF

CodeGenFunction& clang::CodeGen::CodeGenFunction::CXXDefaultInitExprScope::CGF

Definition at line 1795 of file CodeGenFunction.h.

Referenced by CXXDefaultInitExprScope(), and ~CXXDefaultInitExprScope().

◆ OldCXXThisAlignment

CharUnits clang::CodeGen::CodeGenFunction::CXXDefaultInitExprScope::OldCXXThisAlignment

Definition at line 1797 of file CodeGenFunction.h.

Referenced by CXXDefaultInitExprScope(), and ~CXXDefaultInitExprScope().

◆ OldCXXThisValue

llvm::Value* clang::CodeGen::CodeGenFunction::CXXDefaultInitExprScope::OldCXXThisValue

Definition at line 1796 of file CodeGenFunction.h.

Referenced by CXXDefaultInitExprScope(), and ~CXXDefaultInitExprScope().

◆ SourceLocScope

SourceLocExprScopeGuard clang::CodeGen::CodeGenFunction::CXXDefaultInitExprScope::SourceLocScope

Definition at line 1798 of file CodeGenFunction.h.

Referenced by CXXDefaultInitExprScope().


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