clang  14.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"

Collaboration diagram for clang::CodeGen::CodeGenFunction::CXXDefaultInitExprScope:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

CodeGenFunctionCGF
 
llvm::ValueOldCXXThisValue
 
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 1584 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 1593 of file CodeGenFunction.h.

References CGF, OldCXXThisAlignment, and OldCXXThisValue.

Member Data Documentation

◆ CGF

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

Definition at line 1599 of file CodeGenFunction.h.

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

◆ OldCXXThisAlignment

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

Definition at line 1601 of file CodeGenFunction.h.

Referenced by ~CXXDefaultInitExprScope().

◆ OldCXXThisValue

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

Definition at line 1600 of file CodeGenFunction.h.

Referenced by ~CXXDefaultInitExprScope().

◆ SourceLocScope

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

Definition at line 1602 of file CodeGenFunction.h.


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