summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/ThreadLocal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/ThreadLocal.h b/llvm/include/llvm/Support/ThreadLocal.h
index 2957034ec74..62ec90ad24f 100644
--- a/llvm/include/llvm/Support/ThreadLocal.h
+++ b/llvm/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();
OpenPOWER on IntegriCloud