Remove use of GNU extension to resolve Clang warning.
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 12 Jun 2012 17:06:32 +0000 (17:06 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 12 Jun 2012 17:06:32 +0000 (17:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158364 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/ThreadLocal.h

index 2957034ec74d5423d477c406f31bb4e51e64bf8b..62ec90ad24f5595ebacc2468c509af97aa78870c 100644 (file)
@@ -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();