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
| Name | Value | Comment |
|---|---|---|
| SFINAE_SubstitutionFailure | 0 | The 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_Suppress | 1 | The diagnostic should be suppressed entirely.Warnings generally fall into this category. |
| SFINAE_Report | 2 | The diagnostic should be reported.The diagnostic should be reported. Various fatal errors (e.g., template instantiation depth exceeded) fall into this category. |
| SFINAE_AccessControl | 3 | The diagnostic is an access-control diagnostic, which will be substitution failures in some contexts and reported in others. |