diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-10-20 12:20:28 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-10-20 12:20:28 +0000 |
commit | 2a8bef8769ebe355e76060ad964ae95bfaf5eafb (patch) | |
tree | 6fe48a292aa7fedb4f85fd97e0b33fa4a9588a17 /llvm/lib/Support/SpecialCaseList.cpp | |
parent | 59838f7ea675e5b3251d730b59325786b3f6e68c (diff) | |
download | bcm5719-llvm-2a8bef8769ebe355e76060ad964ae95bfaf5eafb.tar.gz bcm5719-llvm-2a8bef8769ebe355e76060ad964ae95bfaf5eafb.zip |
Do a sweep over move ctors and remove those that are identical to the default.
All of these existed because MSVC 2013 was unable to synthesize default
move ctors. We recently dropped support for it so all that error-prone
boilerplate can go.
No functionality change intended.
llvm-svn: 284721
Diffstat (limited to 'llvm/lib/Support/SpecialCaseList.cpp')
-rw-r--r-- | llvm/lib/Support/SpecialCaseList.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Support/SpecialCaseList.cpp b/llvm/lib/Support/SpecialCaseList.cpp index 0ffe4444a17..6feda9de83f 100644 --- a/llvm/lib/Support/SpecialCaseList.cpp +++ b/llvm/lib/Support/SpecialCaseList.cpp @@ -32,10 +32,6 @@ namespace llvm { /// reason for doing so is efficiency; StringSet is much faster at matching /// literal strings than Regex. struct SpecialCaseList::Entry { - Entry() {} - Entry(Entry &&Other) - : Strings(std::move(Other.Strings)), RegEx(std::move(Other.RegEx)) {} - StringSet<> Strings; std::unique_ptr<Regex> RegEx; |