[clang] [clang][NFC] Refactor `clang/test/SemaCXX/type-traits.cpp` to use modern `static_assert` (PR #77584)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 10 06:30:39 PST 2024


================
@@ -2671,212 +2660,212 @@ struct has_unique_object_representations {
   static const bool value = __has_unique_object_representations(T);
 };
----------------
erichkeane wrote:

The intent here was to emulate how the library would use the builtin as a type-trait.  

Also, see this bug here: https://github.com/llvm/llvm-project/issues/77585 for additional comments.

https://github.com/llvm/llvm-project/pull/77584


More information about the cfe-commits mailing list