================
@@ -30,6 +30,11 @@ namespace std {
   template <class T> struct inner {};
   template <class T> using type_identity = inner<T>;
   #define TYPE_IDENTITY(T) std::type_identity<T>
+#elif INVALID_TYPE_IDENTITY_VERSION==5 
+template <class T> struct type_identity { // #reentrant_type_identity_decl
+  using type = decltype(new T); // #reentrant_type_identity_type_decl
+};
----------------
ojhunt wrote:

Test case generated by Claude 

https://github.com/llvm/llvm-project/pull/211482
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to