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

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 18 10:26:29 PDT 2024


https://github.com/ilya-biryukov commented:

Looks from the C++ language rules and compiler frontend perspective.
The logic behinds the checks seems solid, there should not be any uncaught reads.

I am still unsure if we are doing the right thing for Objective C's `-fblocks`, left a comment asking about it.

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


More information about the cfe-commits mailing list