|
clang
5.0.0
|
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 7373 of file Sema.h.
References clang::Sema::AccessCheckingSFINAE, clang::Sema::InNonInstantiationSFINAEContext, and clang::Sema::isSFINAEContext().
|
inline |
Definition at line 7384 of file Sema.h.
References clang::Sema::AccessCheckingSFINAE, clang::Sema::InNonInstantiationSFINAEContext, and clang::Sema::NumSFINAEErrors.
|
inline |
Determine whether any SFINAE errors have been trapped.
Definition at line 7392 of file Sema.h.
References clang::Sema::NumSFINAEErrors.
Referenced by clang::Sema::BuildMemberReferenceExpr(), convertArgsForAvailabilityChecks(), clang::Sema::DeduceTemplateArguments(), DiagnoseInvalidRedeclaration(), EvaluateBinaryTypeTrait(), evaluateTypeTrait(), FinishTemplateArgumentDeduction(), clang::Sema::FinishTemplateArgumentDeduction(), clang::Sema::isTemplateTemplateParameterAtLeastAsSpecializedAs(), and clang::Sema::SubstituteExplicitTemplateArguments().
1.8.6