[clang] Make [[clang::lifetimebound]] work for expressions coming from default arguments (PR #112047)

Boaz Brickner via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 14 23:19:08 PDT 2024


================
@@ -1370,7 +1381,7 @@ static void checkExprLifetimeImpl(Sema &SemaRef,
         break;
       }
 
-      case IndirectLocalPathEntry::LambdaCaptureInit:
+      case IndirectLocalPathEntry::LambdaCaptureInit: {
----------------
bricknerb wrote:

Revert this change as it is unrelated?

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


More information about the cfe-commits mailing list