enum DiagnosticIDs::SFINAEResponse

Description

Enumeration describing how the emission of a diagnostic should be treated when it occurs during C++ template argument deduction.

Declared at: clang/include/clang/Basic/DiagnosticIDs.h:267

Enumerators

NameValueComment
SFINAE_SubstitutionFailure0The diagnostic should not be reported, but it should cause template argument deduction to fail.The vast majority of errors that occur during template argument deduction fall into this category.
SFINAE_Suppress1The diagnostic should be suppressed entirely.Warnings generally fall into this category.
SFINAE_Report2The diagnostic should be reported.The diagnostic should be reported. Various fatal errors (e.g., template instantiation depth exceeded) fall into this category.
SFINAE_AccessControl3The diagnostic is an access-control diagnostic, which will be substitution failures in some contexts and reported in others.