clang 24.0.0git
clang::ImplicitAllocationArguments Struct Reference

#include "clang/Sema/DynamicAllocationArgumentsCXX.h"

Public Member Functions

ArrayRef< Expr * > getImplicitArguments () const
ExprgetAlignmentArgument () const
const LookupResultupdateLookupForMSVCCompatibility (Sema &, const LookupResult &, std::optional< LookupResult > &) const

Public Attributes

friend Sema
TypeAwareAllocationMode PassTypeIdentity
AlignedAllocationMode PassAlignment
bool IsMSVCCompatibilityFallback

Detailed Description

Definition at line 26 of file DynamicAllocationArgumentsCXX.h.

Member Function Documentation

◆ getAlignmentArgument()

Expr * clang::ImplicitAllocationArguments::getAlignmentArgument ( ) const
inline

Definition at line 33 of file DynamicAllocationArgumentsCXX.h.

References PassAlignment, and clang::Yes.

Referenced by DiagnoseAllocationLookupFailure().

◆ getImplicitArguments()

ArrayRef< Expr * > clang::ImplicitAllocationArguments::getImplicitArguments ( ) const
inline

Definition at line 29 of file DynamicAllocationArgumentsCXX.h.

Referenced by DiagnoseAllocationLookupFailure().

◆ updateLookupForMSVCCompatibility()

Member Data Documentation

◆ IsMSVCCompatibilityFallback

bool clang::ImplicitAllocationArguments::IsMSVCCompatibilityFallback

◆ PassAlignment

AlignedAllocationMode clang::ImplicitAllocationArguments::PassAlignment

Definition at line 43 of file DynamicAllocationArgumentsCXX.h.

Referenced by getAlignmentArgument().

◆ PassTypeIdentity

TypeAwareAllocationMode clang::ImplicitAllocationArguments::PassTypeIdentity

Definition at line 42 of file DynamicAllocationArgumentsCXX.h.

Referenced by resolveAllocationOverload().

◆ Sema

friend clang::ImplicitAllocationArguments::Sema

Definition at line 27 of file DynamicAllocationArgumentsCXX.h.

Referenced by updateLookupForMSVCCompatibility().


The documentation for this struct was generated from the following files: