[clang-tools-extra] r352510 - [clangd] Attempt to fix failing buildbots after r352494
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 29 07:57:14 PST 2019
Author: ibiryukov
Date: Tue Jan 29 07:57:14 2019
New Revision: 352510
URL: http://llvm.org/viewvc/llvm-project?rev=352510&view=rev
Log:
[clangd] Attempt to fix failing buildbots after r352494
For failures see:
http://lab.llvm.org:8011/builders/clang-x86_64-linux-abi-test/builds/38501/steps/build-unified-tree/logs/stdio
Modified:
clang-tools-extra/trunk/clangd/refactor/Tweak.cpp
Modified: clang-tools-extra/trunk/clangd/refactor/Tweak.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/refactor/Tweak.cpp?rev=352510&r1=352509&r2=352510&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/refactor/Tweak.cpp (original)
+++ clang-tools-extra/trunk/clangd/refactor/Tweak.cpp Tue Jan 29 07:57:14 2019
@@ -67,7 +67,7 @@ llvm::Expected<std::unique_ptr<Tweak>> p
if (!T->prepare(S))
return llvm::createStringError(llvm::inconvertibleErrorCode(),
"failed to prepare() a check");
- return T;
+ return std::move(T);
}
} // namespace clangd
More information about the cfe-commits
mailing list