mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
[clangd] Save an unnecessary copy, NFC.
llvm-svn: 372752
This commit is contained in:
parent
eefbc358eb
commit
3a415c20ad
@ -208,7 +208,7 @@ createScopeFileDistance(llvm::ArrayRef<std::string> QueryScopes) {
|
||||
Param.MaxUpTraversals = std::max(Path.second - 1, 0);
|
||||
Sources[Path.first] = std::move(Param);
|
||||
}
|
||||
return FileDistance(Sources, Opts);
|
||||
return FileDistance(std::move(Sources), Opts);
|
||||
}
|
||||
|
||||
ScopeDistance::ScopeDistance(llvm::ArrayRef<std::string> QueryScopes)
|
||||
|
Loading…
x
Reference in New Issue
Block a user