mstorsjo wrote: > Hmm... > > Maybe the backend should have some notion of a default ctors section. So if > the frontend doesn't explicitly specify anything, the backend tries to pick > the right default.
Yep, this is kinda the same issue for lots of target specific options that are set as bools..., while the ideal I guess either would be an `optional<bool>`, or to initialize the bools to the target specific actual value. In this case, I would maybe suggest merging both this and #68570 - that should both fix behaviours and make clang aware of the reality, and leave the root design issue for someone else to take on... WDYT? https://github.com/llvm/llvm-project/pull/68571 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits