llvm-project
3f790573 - [Clang] Make passing incomplete types to builtin type-traits a non-sfinae-friendly error (#121333)

Commit
348 days ago
[Clang] Make passing incomplete types to builtin type-traits a non-sfinae-friendly error (#121333) LWG3929 suggests that passing incomplete types to __is_base_of and other builtins supporting [meta.unary] should result in a non-sfinaeable error. This is consistent with GCC's behavior and avoid inconsistency when using a builtin instead of a standard trait in a concept-definition. Fixes #121278
Author
Parents
Loading