aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/ThreadLocal.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-06-12 17:06:32 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-06-12 17:06:32 +0000
commitb9c592f4c554888c095863cf1e7cda350a371b6c (patch)
tree073dc9dd8dc952e07c865b1bdfa8c4ede6c71b2e /include/llvm/Support/ThreadLocal.h
parent6670c82df5ef7b97862ef2a0807aa835498b7306 (diff)
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
Diffstat (limited to 'include/llvm/Support/ThreadLocal.h')
-rw-r--r--include/llvm/Support/ThreadLocal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Support/ThreadLocal.h b/include/llvm/Support/ThreadLocal.h
index 2957034ec7..62ec90ad24 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();