From b9c592f4c554888c095863cf1e7cda350a371b6c Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 12 Jun 2012 17:06:32 +0000 Subject: [PATCH] Remove use of GNU extension to resolve Clang warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158364 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/ThreadLocal.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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();