diff --git a/include/llvm/Support/ThreadLocal.h b/include/llvm/Support/ThreadLocal.h index 2957034ec74..62ec90ad24f 100644 --- a/include/llvm/Support/ThreadLocal.h +++ b/include/llvm/Support/ThreadLocal.h @@ -30,9 +30,7 @@ namespace llvm { /// to make this class more safe for use along with CrashRecoveryContext. union { char data[sizeof(ThreadLocalDataTy)]; - struct { - ThreadLocalDataTy align_data; - }; + ThreadLocalDataTy align_data; }; public: ThreadLocalImpl();