We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 584e00a commit 2954d1fCopy full SHA for 2954d1f
clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp
@@ -299,7 +299,7 @@ mapInputsToAbsPaths(clang::tooling::CompilationDatabase &CDB,
299
if (auto Err = VFS->makeAbsolute(AbsPath)) {
300
llvm::errs() << "Failed to get absolute path for " << Source << " : "
301
<< Err.message() << '\n';
302
- return std::move(llvm::errorCodeToError(Err));
+ return llvm::errorCodeToError(Err);
303
}
304
std::vector<clang::tooling::CompileCommand> Cmds =
305
CDB.getCompileCommands(AbsPath);
0 commit comments