X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSupport%2FSpecialCaseList.cpp;h=21e43c5e7035d536fc1cad3267dda15b06130da9;hb=540b4f6c08a089f487edad2befb7caf98c127ac5;hp=a81ba23ff6d6e05084ee2af919b7d3af8e4b1f55;hpb=0f29cefbc253b85272e78595053607ff9206202b;p=oota-llvm.git diff --git a/lib/Support/SpecialCaseList.cpp b/lib/Support/SpecialCaseList.cpp index a81ba23ff6d..21e43c5e703 100644 --- a/lib/Support/SpecialCaseList.cpp +++ b/lib/Support/SpecialCaseList.cpp @@ -34,6 +34,10 @@ 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;