[clang] [clang] Don't emit the warn_dangling_lifetime_pointer diagnostic for the assignment case. (PR #97408)

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 06:13:21 PDT 2024


================
@@ -0,0 +1,15 @@
+
+// RUN: %clang_cc1 -std=c++20 -verify -Wno-dangling-assignment %s
----------------
hokein wrote:

Done.

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


More information about the cfe-commits mailing list