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
This commit is contained in:
David Blaikie 2012-06-12 17:06:32 +00:00
parent 6670c82df5
commit b9c592f4c5

View File

@ -30,10 +30,8 @@ namespace llvm {
/// to make this class more safe for use along with CrashRecoveryContext. /// to make this class more safe for use along with CrashRecoveryContext.
union { union {
char data[sizeof(ThreadLocalDataTy)]; char data[sizeof(ThreadLocalDataTy)];
struct {
ThreadLocalDataTy align_data; ThreadLocalDataTy align_data;
}; };
};
public: public:
ThreadLocalImpl(); ThreadLocalImpl();
virtual ~ThreadLocalImpl(); virtual ~ThreadLocalImpl();