diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2016-08-02 16:59:51 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2016-08-02 16:59:51 +0000 |
commit | de4be653137b06081167584ef9fbf43b80e85a16 (patch) | |
tree | a34134b92a1b589677de8e90b4644e2abfe9cbb6 /llvm/lib/Transforms | |
parent | bfaddd999a6805c522ebb8146fc80e61fdd38f16 (diff) | |
download | bcm5719-llvm-de4be653137b06081167584ef9fbf43b80e85a16.tar.gz bcm5719-llvm-de4be653137b06081167584ef9fbf43b80e85a16.zip |
MSVC 2013 does not implement C++11 unions properly, so remove the anoymous union for now,
and leave a FIXME.
llvm-svn: 277485
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Utils/MemorySSA.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/MemorySSA.cpp b/llvm/lib/Transforms/Utils/MemorySSA.cpp index 241c9ddbbba..bbb98aef772 100644 --- a/llvm/lib/Transforms/Utils/MemorySSA.cpp +++ b/llvm/lib/Transforms/Utils/MemorySSA.cpp @@ -1118,10 +1118,10 @@ public: } private: - union { + // FIXME: MSVC 2013 does not properly implement C++11 union rules, once we + // require newer versions, this should be made an anonymous union again. ImmutableCallSite CS; MemoryLocation Loc; - }; }; template <> struct DenseMapInfo<MemoryLocOrCall> { |