mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 06:26:07 +00:00
Revert "Fix warning when building with GCC."
This reverts commit 971786254cc4093eb1c56625b8da0fd3544f6512.
This commit is contained in:
parent
971786254c
commit
9a6e84fd21
@ -20,7 +20,7 @@ using namespace llvm;
|
||||
namespace {
|
||||
|
||||
struct CrashRecoveryContextImpl;
|
||||
static LLVM_THREAD_LOCAL const CrashRecoveryContextImpl *CurrentContext;
|
||||
LLVM_THREAD_LOCAL static const CrashRecoveryContextImpl *CurrentContext;
|
||||
|
||||
struct CrashRecoveryContextImpl {
|
||||
// When threads are disabled, this links up all active
|
||||
@ -87,7 +87,7 @@ std::mutex &getCrashRecoveryContextMutex() {
|
||||
|
||||
static bool gCrashRecoveryEnabled = false;
|
||||
|
||||
static LLVM_THREAD_LOCAL const CrashRecoveryContext *IsRecoveringFromCrash;
|
||||
LLVM_THREAD_LOCAL static const CrashRecoveryContext *IsRecoveringFromCrash;
|
||||
|
||||
} // namespace
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user