mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
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:
@@ -0,0 +1,2 @@
|
||||
#include <string>
|
||||
thread_local std::string foo;
|
||||
Reference in New Issue
Block a user