[clang] [CMake] Enable -Werror=global-constructors for clang/lib (PR #246753)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 28 11:32:44 PST 2026


MaskRay wrote:

> LGTM modulo clangCodeGen, as discussed in #246727.

If the clangCodeGen cl::opt gets reverted per Eli's request, `clangCodeGen` should be added to the opt-out list here.

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


More information about the cfe-commits mailing list