diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-03-21 21:35:04 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-03-21 21:35:04 +0000 |
commit | 3c892b9138e4d2de073529c85f51c76b71913383 (patch) | |
tree | 75565ba4a9e7fef1165f463d01068180df6bba65 /lib/Tooling | |
parent | eb0cd97d1203435dc852d720887566aeb737dc8a (diff) |
Apply clang-tidy's performance-unnecessary-value-param to parts of clang.
No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Tooling')
-rw-r--r-- | lib/Tooling/Refactoring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Tooling/Refactoring.cpp b/lib/Tooling/Refactoring.cpp index 954a473f07..db34c952d7 100644 --- a/lib/Tooling/Refactoring.cpp +++ b/lib/Tooling/Refactoring.cpp @@ -28,7 +28,7 @@ namespace tooling { RefactoringTool::RefactoringTool( const CompilationDatabase &Compilations, ArrayRef<std::string> SourcePaths, std::shared_ptr<PCHContainerOperations> PCHContainerOps) - : ClangTool(Compilations, SourcePaths, PCHContainerOps) {} + : ClangTool(Compilations, SourcePaths, std::move(PCHContainerOps)) {} std::map<std::string, Replacements> &RefactoringTool::getReplacements() { return FileToReplaces; |