clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
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 1765 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 1774 of file CodeGenFunction.h.

References CGF, OldCXXThisAlignment, and OldCXXThisValue.

Member Data Documentation

◆ CGF

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

Definition at line 1780 of file CodeGenFunction.h.

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

◆ OldCXXThisAlignment

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

Definition at line 1782 of file CodeGenFunction.h.

Referenced by ~CXXDefaultInitExprScope().

◆ OldCXXThisValue

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

Definition at line 1781 of file CodeGenFunction.h.

Referenced by ~CXXDefaultInitExprScope().

◆ SourceLocScope

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

Definition at line 1783 of file CodeGenFunction.h.


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