[clang-tools-extra] [clang-tidy] Support C++20 constinit in bugprone-dynamic-static-initializers (PR #174744)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 8 06:47:12 PST 2026


================
@@ -0,0 +1,56 @@
+// RUN: %check_clang_tidy -std=c++20 %s bugprone-dynamic-static-initializers %t -- -- -fno-threadsafe-statics
----------------
zeyi2 wrote:

Fixed, thanks!

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


More information about the cfe-commits mailing list