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

I think this check is for headers. There was an existing header test file for 
it: 
https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/test/clang-tidy/checkers/bugprone/dynamic-static-initializers.hpp

https://github.com/llvm/llvm-project/pull/174744
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to