|
clang
3.8.0
|
RAII class used to determine whether SFINAE has trapped any errors that occur during template argument deduction. More...
#include <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 6827 of file Sema.h.
References clang::Sema::AccessCheckingSFINAE, clang::Sema::InNonInstantiationSFINAEContext, and clang::Sema::isSFINAEContext().
|
inline |
Definition at line 6838 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 6846 of file Sema.h.
References clang::Sema::NumSFINAEErrors.
Referenced by clang::Sema::BuildMemberReferenceExpr(), clang::Sema::CheckEnableIf(), clang::Sema::DeduceTemplateArguments(), DiagnoseInvalidRedeclaration(), EvaluateBinaryTypeTrait(), evaluateTypeTrait(), FinishTemplateArgumentDeduction(), clang::Sema::FinishTemplateArgumentDeduction(), and clang::Sema::SubstituteExplicitTemplateArguments().
1.8.6