[clang] [Clang] Fixes __builtin_is_implicit_lifetime for types with deleted ctrs (PR #161163)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 29 07:56:37 PDT 2025


================
@@ -2038,6 +2038,49 @@ void is_implicit_lifetime(int n) {
   static_assert(__builtin_is_implicit_lifetime(int * __restrict));
 }
 
+namespace GH160610 {
+class NonAggregate {
----------------
shafik wrote:

Might be worth adding a few more combinations here, like combinations of defaulted and deleted.

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


More information about the cfe-commits mailing list