We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LLVM_THREAD_LOCAL
1 parent 8e49476 commit 276dd08Copy full SHA for 276dd08
llvm/include/llvm/Support/IOSandbox.h
@@ -11,11 +11,12 @@
11
12
#if defined(LLVM_ENABLE_IO_SANDBOX) && LLVM_ENABLE_IO_SANDBOX
13
14
+#include "llvm/Support/Compiler.h"
15
#include "llvm/Support/ErrorHandling.h"
16
#include "llvm/Support/SaveAndRestore.h"
17
18
namespace llvm::sys::sandbox {
-inline thread_local bool Enabled = false;
19
+inline LLVM_THREAD_LOCAL bool Enabled = false;
20
struct ScopedSetting {
21
SaveAndRestore<bool> Impl;
22
};
0 commit comments