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

Jan Voung via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 12 12:50:46 PDT 2024


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

Sure! Added those cases.

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


More information about the cfe-commits mailing list