[clang] [clang] Skip auto-init on scalar vars that have a non-constant Init and no self-ref (PR #94642)

Alexander Potapenko via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 18 00:46:32 PDT 2024


================
@@ -15,7 +15,7 @@ struct Foo {
 
 int foo(unsigned n) {
   bool var_size_1;
-  long var_size_8 = 123;
----------------
ramosian-glider wrote:

LGTM

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


More information about the cfe-commits mailing list