forked from OSchip/llvm-project
[clangd] Add std::move for converting-return to satisfy older compilers
llvm-svn: 343800
This commit is contained in:
parent
0c67a4e958
commit
bd7718ec26
|
@ -53,7 +53,7 @@ std::unique_ptr<SymbolIndex> TestTU::index() const {
|
|||
auto Idx = llvm::make_unique<FileIndex>();
|
||||
Idx->updatePreamble(Filename, AST.getASTContext(), AST.getPreprocessorPtr());
|
||||
Idx->updateMain(Filename, AST);
|
||||
return Idx;
|
||||
return std::move(Idx);
|
||||
}
|
||||
|
||||
const Symbol &findSymbol(const SymbolSlab &Slab, llvm::StringRef QName) {
|
||||
|
|
Loading…
Reference in New Issue