clang 23.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 2058 of file Decl.h.

Member Function Documentation

◆ Create()

◆ getDeletedMessage()

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

Definition at line 2084 of file Decl.h.

◆ getFPFeatures()

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

Definition at line 2076 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 2080 of file Decl.h.

◆ setDeletedMessage()

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

Definition at line 3160 of file Decl.cpp.


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