diff options
author | cor3ntin <corentinjabot@gmail.com> | 2025-01-06 14:48:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 14:48:50 +0100 |
commit | 3f7905733820851bc4f65cb4af693c3101cbf20d (patch) | |
tree | 6f2cc0a4afc6d261a9b30bd12e02bdceacd45f80 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 69ba565734a64bea91062bfd0c5988276b73eb87 (diff) | |
download | llvm-3f7905733820851bc4f65cb4af693c3101cbf20d.zip llvm-3f7905733820851bc4f65cb4af693c3101cbf20d.tar.gz llvm-3f7905733820851bc4f65cb4af693c3101cbf20d.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions