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
2024-05-21 15:55:26 +00:00
parent a786fd2041
commit 34c9cee380
5 changed files with 79 additions and 2 deletions

View File

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