clang
10.0.0svn
|
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 8047 of file Sema.h.
References clang::Sema::AccessCheckingSFINAE, clang::Sema::InNonInstantiationSFINAEContext, and clang::Sema::isSFINAEContext().
|
inline |
Definition at line 8060 of file Sema.h.
References clang::Sema::AccessCheckingSFINAE, clang::Sema::getDiagnostics(), clang::Sema::InNonInstantiationSFINAEContext, clang::Sema::NumSFINAEErrors, and clang::DiagnosticsEngine::setLastDiagnosticIgnored().
|
inline |
Determine whether any SFINAE errors have been trapped.
Definition at line 8070 of file Sema.h.
References clang::Sema::NumSFINAEErrors.
Referenced by attemptRecovery(), clang::Sema::BuildMemberReferenceExpr(), clang::Sema::CalculateConstraintSatisfaction(), convertArgsForAvailabilityChecks(), clang::Sema::DeduceTemplateArguments(), EvaluateBinaryTypeTrait(), and evaluateTypeTrait().