0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-10 10:52:31 -05:00
bitcoin-bitcoin-core/contrib/devtools/bitcoin-tidy/example_nontrivial-threadlocal.cpp
Cory Fields 34c9cee380 clang-tidy: add check for non-trivial thread_local vars
Do not allow thread_local vars with non-trivial destructors
2024-05-22 13:47:09 +00:00

2 lines
48 B
C++

#include <string>
thread_local std::string foo;