clang
19.0.0git
|
RAII class used to determine whether SFINAE has trapped any errors that occur during template argument deduction. More...
#include "clang/Sema/Sema.h"
Public Member Functions | |
SFINAETrap (Sema &SemaRef, bool AccessCheckingSFINAE=false) | |
~SFINAETrap () | |
bool | hasErrorOccurred () const |
Determine whether any SFINAE errors have been trapped. More... | |
RAII class used to determine whether SFINAE has trapped any errors that occur during template argument deduction.
|
inlineexplicit |
Definition at line 9618 of file Sema.h.
References clang::Sema::AccessCheckingSFINAE, clang::Sema::InNonInstantiationSFINAEContext, clang::Sema::isSFINAEContext(), and clang::SemaBase::SemaRef.
|
inline |
Definition at line 9630 of file Sema.h.
References clang::Sema::AccessCheckingSFINAE, clang::Sema::getDiagnostics(), clang::Sema::InNonInstantiationSFINAEContext, clang::Sema::NumSFINAEErrors, clang::SemaBase::SemaRef, and clang::DiagnosticsEngine::setLastDiagnosticIgnored().
|
inline |
Determine whether any SFINAE errors have been trapped.
Definition at line 9640 of file Sema.h.
References clang::Sema::NumSFINAEErrors, and clang::SemaBase::SemaRef.
Referenced by CheckConvertibilityForTypeTraits(), EvaluateBinaryTypeTrait(), clang::Sema::isTemplateTemplateParameterAtLeastAsSpecializedAs(), and clang::Sema::SubstituteExplicitTemplateArguments().