clang 24.0.0git
clang::FunctionDecl::DefaultedOrDeletedFunctionInfo Class Referencefinal

Stashed information about a defaulted/deleted function body, including the active FP pragma overrides (FPOptionsOverride) from the declaration site. More...

#include "clang/AST/Decl.h"

Inheritance diagram for clang::FunctionDecl::DefaultedOrDeletedFunctionInfo:
[legend]

Public Member Functions

FPOptionsOverride getFPFeatures () const
ArrayRef< DeclAccessPairgetUnqualifiedLookups () const
 Get the unqualified lookup results that should be used in this defaulted function definition.
StringLiteralgetDeletedMessage () const
void setDeletedMessage (StringLiteral *Message)

Static Public Member Functions

static DefaultedOrDeletedFunctionInfoCreate (ASTContext &Context, ArrayRef< DeclAccessPair > Lookups, FPOptionsOverride FPFeatures, StringLiteral *DeletedMessage=nullptr)

Detailed Description

Stashed information about a defaulted/deleted function body, including the active FP pragma overrides (FPOptionsOverride) from the declaration site.

These overrides are required to correctly synthesize the function body.

Definition at line 2087 of file Decl.h.

Member Function Documentation

◆ Create()

◆ getDeletedMessage()

StringLiteral * clang::FunctionDecl::DefaultedOrDeletedFunctionInfo::getDeletedMessage ( ) const
inline

Definition at line 2113 of file Decl.h.

◆ getFPFeatures()

FPOptionsOverride clang::FunctionDecl::DefaultedOrDeletedFunctionInfo::getFPFeatures ( ) const
inline

Definition at line 2105 of file Decl.h.

◆ getUnqualifiedLookups()

ArrayRef< DeclAccessPair > clang::FunctionDecl::DefaultedOrDeletedFunctionInfo::getUnqualifiedLookups ( ) const
inline

Get the unqualified lookup results that should be used in this defaulted function definition.

Definition at line 2109 of file Decl.h.

◆ setDeletedMessage()

void FunctionDecl::DefaultedOrDeletedFunctionInfo::setDeletedMessage ( StringLiteral * Message)

Definition at line 3170 of file Decl.cpp.


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