clang-tidy: add check for non-trivial thread_local vars

Do not allow thread_local vars with non-trivial destructors
This commit is contained in:
Cory Fields committed 2024-05-22 13:47:09 +00:00
1 parent a786fd2041
commit 34c9cee380
5 files changed
+79 -2

No files matched your search

@@ -0,0 +1,2 @@
#include <string>
thread_local std::string foo;