clang 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::FunctionDecl::DefaultedOrDeletedFunctionInfo Class Referencefinal

Stashed information about a defaulted/deleted function body. More...

#include "clang/AST/Decl.h"

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

Public Member Functions

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, StringLiteral *DeletedMessage=nullptr)
 

Detailed Description

Stashed information about a defaulted/deleted function body.

Definition at line 1958 of file Decl.h.

Member Function Documentation

◆ Create()

FunctionDecl::DefaultedOrDeletedFunctionInfo * FunctionDecl::DefaultedOrDeletedFunctionInfo::Create ( ASTContext Context,
ArrayRef< DeclAccessPair Lookups,
StringLiteral DeletedMessage = nullptr 
)
static

◆ getDeletedMessage()

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

Definition at line 1980 of file Decl.h.

Referenced by clang::FunctionDecl::getDeletedMessage().

◆ 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 1976 of file Decl.h.

◆ setDeletedMessage()

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

Definition at line 3127 of file Decl.cpp.

Referenced by clang::FunctionDecl::setDeletedAsWritten().


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