[clang] [clang] [MinGW] Explicitly always pass the -fno-use-init-array (PR #68571)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 9 13:52:33 PDT 2023


efriedma-quic wrote:

Doesn't UseInitArray default to false in LLVM?

Anyway, we already have ways to make booleans optional; it's just a matter of implementing a "default" state, which we already do for certain options like code models. I don't think there's any fundamental architectural work involved in doing that.  (See various enums in TargetOptions.h)

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


More information about the cfe-commits mailing list