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:
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;
|
||||
Reference in new issue
Block a user