Fix build bot after r338521

llvm-svn: 338522
This commit is contained in:
Ulrich Weigand 2018-08-01 12:07:32 +00:00
parent 58a9786e81
commit f989cd78e4
1 changed files with 1 additions and 1 deletions

View File

@ -3959,7 +3959,7 @@ static TreePatternNodePtr PromoteXForms(TreePatternNodePtr N) {
if (!N->isLeaf())
for (unsigned i = 0, e = N->getNumChildren(); i != e; ++i) {
TreePatternNodePtr Child = N->getChildShared(i);
N->setChild(i, std::move(PromoteXForms(Child)));
N->setChild(i, PromoteXForms(Child));
}
return N;
}