diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-05 21:07:01 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-05 21:07:01 +0000 |
commit | f880d35b80dd7fda9ddfffeff7383614318b1bdb (patch) | |
tree | b4f5d4257a481738aabfdba5df3738ab969fbd38 /llvm/lib/Transforms/Utils/ValueMapper.cpp | |
parent | d347d695c2277aa0f6286b6f181a2550c8252ec5 (diff) | |
download | llvm-f880d35b80dd7fda9ddfffeff7383614318b1bdb.zip llvm-f880d35b80dd7fda9ddfffeff7383614318b1bdb.tar.gz llvm-f880d35b80dd7fda9ddfffeff7383614318b1bdb.tar.bz2 |
Try to appease MSVC after r265456
I can't remember if adding `= default` will make MSVC happy, or if I
have to spell this out. Let's try the cleaner version first.
llvm-svn: 265465
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/ValueMapper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp index 18b9df0..e89deab 100644 --- a/llvm/lib/Transforms/Utils/ValueMapper.cpp +++ b/llvm/lib/Transforms/Utils/ValueMapper.cpp @@ -104,6 +104,10 @@ class MDNodeMapper { bool HasChangedAddress = false; unsigned ID = ~0u; TempMDNode Placeholder; + + Data() = default; + Data(Data &&) = default; + Data &operator=(Data &&) = default; }; SmallDenseMap<const Metadata *, Data, 32> Info; |