|
clang 22.0.0git
|
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. | |
For a defaulted function, the kind of defaulted function that it is.
|
inline |
Definition at line 6333 of file Sema.h.
References clang::Invalid, and clang::Sema::None.
|
inline |
Definition at line 6336 of file Sema.h.
References clang::Sema::None.
|
inline |
Definition at line 6339 of file Sema.h.
References clang::Invalid.
|
inline |
Definition at line 6359 of file Sema.h.
Referenced by clang::Sema::CheckCompletedCXXClass(), clang::Sema::CheckExplicitlyDefaultedFunction(), DefineDefaultedFunction(), clang::Sema::DiagnoseDeletedDefaultedFunction(), clang::Sema::getDefaultedComparisonKind(), clang::Sema::PrintInstantiationStack(), and clang::Sema::SetDeclDefaulted().
|
inline |
Definition at line 6356 of file Sema.h.
Referenced by clang::Sema::CheckExplicitlyDefaultedFunction(), clang::Sema::CreateOverloadedBinOp(), DefineDefaultedFunction(), clang::Sema::DiagnoseDeletedDefaultedFunction(), DiagnoseNonTriviallyCopyableReason(), clang::Sema::getSpecialMember(), clang::Sema::InstantiateFunctionDefinition(), clang::Sema::PrintInstantiationStack(), and clang::Sema::SetDeclDefaulted().
|
inline |
Get the index of this function kind for use in diagnostics.
Definition at line 6364 of file Sema.h.
References clang::Destructor, clang::Invalid, and clang::Sema::None.
|
inline |
Definition at line 6347 of file Sema.h.
References clang::Sema::None.
Referenced by clang::Sema::CheckExplicitlyDefaultedFunction(), clang::Sema::CreateOverloadedBinOp(), DefineDefaultedFunction(), operator bool(), clang::Sema::PrintInstantiationStack(), and clang::Sema::SetDeclDefaulted().
|
inline |
Definition at line 6343 of file Sema.h.
References clang::Invalid.
Referenced by clang::Sema::BuildFieldReferenceExpr(), clang::Sema::CheckExplicitlyDefaultedFunction(), clang::Sema::CreateOverloadedBinOp(), clang::Sema::DiagnoseDeletedDefaultedFunction(), operator bool(), and clang::Sema::PrintInstantiationStack().
|
inlineexplicit |
Definition at line 6352 of file Sema.h.
References isComparison(), and isSpecialMember().