clang
3.7.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 6747 of file Sema.h.
References clang::Sema::AccessCheckingSFINAE, clang::Sema::InNonInstantiationSFINAEContext, and clang::Sema::isSFINAEContext().
|
inline |
Definition at line 6758 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 6766 of file Sema.h.
References clang::Sema::NumSFINAEErrors.
Referenced by clang::Sema::BuildMemberReferenceExpr(), clang::Sema::DeduceTemplateArguments(), DiagnoseInvalidRedeclaration(), EvaluateBinaryTypeTrait(), evaluateTypeTrait(), FinishTemplateArgumentDeduction(), clang::Sema::FinishTemplateArgumentDeduction(), and clang::Sema::SubstituteExplicitTemplateArguments().