clang 20.0.0git
Public Member Functions | List of all members
clang::Sema::DefaultedFunctionKind Class Reference

For a defaulted function, the kind of defaulted function that it is. More...

#include "clang/Sema/Sema.h"

Public Member Functions

 DefaultedFunctionKind ()
 
 DefaultedFunctionKind (CXXSpecialMemberKind CSM)
 
 DefaultedFunctionKind (DefaultedComparisonKind Comp)
 
bool isSpecialMember () const
 
bool isComparison () const
 
 operator bool () const
 
CXXSpecialMemberKind asSpecialMember () const
 
DefaultedComparisonKind asComparison () const
 
unsigned getDiagnosticIndex () const
 Get the index of this function kind for use in diagnostics.
 

Detailed Description

For a defaulted function, the kind of defaulted function that it is.

Definition at line 5884 of file Sema.h.

Constructor & Destructor Documentation

◆ DefaultedFunctionKind() [1/3]

clang::Sema::DefaultedFunctionKind::DefaultedFunctionKind ( )
inline

Definition at line 5890 of file Sema.h.

◆ DefaultedFunctionKind() [2/3]

clang::Sema::DefaultedFunctionKind::DefaultedFunctionKind ( CXXSpecialMemberKind  CSM)
inline

Definition at line 5893 of file Sema.h.

◆ DefaultedFunctionKind() [3/3]

clang::Sema::DefaultedFunctionKind::DefaultedFunctionKind ( DefaultedComparisonKind  Comp)
inline

Definition at line 5896 of file Sema.h.

Member Function Documentation

◆ asComparison()

DefaultedComparisonKind clang::Sema::DefaultedFunctionKind::asComparison ( ) const
inline

◆ asSpecialMember()

CXXSpecialMemberKind clang::Sema::DefaultedFunctionKind::asSpecialMember ( ) const
inline

◆ getDiagnosticIndex()

unsigned clang::Sema::DefaultedFunctionKind::getDiagnosticIndex ( ) const
inline

Get the index of this function kind for use in diagnostics.

Definition at line 5921 of file Sema.h.

◆ isComparison()

bool clang::Sema::DefaultedFunctionKind::isComparison ( ) const
inline

◆ isSpecialMember()

bool clang::Sema::DefaultedFunctionKind::isSpecialMember ( ) const
inline

◆ operator bool()

clang::Sema::DefaultedFunctionKind::operator bool ( ) const
inlineexplicit

Definition at line 5909 of file Sema.h.


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