[clang] Poor diagnostic with wrong template argument type #121235
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
clang
Clang issues not falling into any other category
enhancement
Improving things as opposed to bug fixing, e.g. new or missing feature
Clang diagnostic for invalid bool-to-enum template parameter conversion lacks failure detail when compared to GCC, as the following C++ snippet:
Fails as follows on latest clang:
GCC explicitly indicates the conversion failure instead:
Godbolt: https://godbolt.org/z/hnazTn3M7 (cc/ @shafik).
The text was updated successfully, but these errors were encountered: