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

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 27 13:11:41 PST 2026


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

Like #239678, enforce
llvm.org/docs/CodingStandards.html#do-not-use-static-constructors in
Clang builds for clang/lib source files.

List the libraries that still have C++ dynamic initializations so that
the others cannot gain new ones.

The server is unavailable at this time. Please wait a few minutes before you try again.


More information about the cfe-commits mailing list