[llvm-commits] [llvm] r158364 - /llvm/trunk/include/llvm/Support/ThreadLocal.h
David Blaikie
dblaikie at gmail.com
Tue Jun 12 10:06:33 PDT 2012
Author: dblaikie
Date: Tue Jun 12 12:06:32 2012
New Revision: 158364
URL: http://llvm.org/viewvc/llvm-project?rev=158364&view=rev
Log:
Remove use of GNU extension to resolve Clang warning.
Modified:
llvm/trunk/include/llvm/Support/ThreadLocal.h
Modified: llvm/trunk/include/llvm/Support/ThreadLocal.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ThreadLocal.h?rev=158364&r1=158363&r2=158364&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ThreadLocal.h (original)
+++ llvm/trunk/include/llvm/Support/ThreadLocal.h Tue Jun 12 12:06:32 2012
@@ -30,9 +30,7 @@
/// 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();
More information about the llvm-commits
mailing list