summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2015-01-17 00:46:55 +0000
committerRichard Trieu <rtrieu@google.com>2015-01-17 00:46:55 +0000
commitd4b05cef6b4e2c32a8f3d6ab42112b643fe05c4e (patch)
treebd5adb12313105238c634e91fbf88c84b29bc16a /clang/lib
parent73d06526baf832cc552b6f4bf3ceaf32adb4757d (diff)
downloadbcm5719-llvm-d4b05cef6b4e2c32a8f3d6ab42112b643fe05c4e.tar.gz
bcm5719-llvm-d4b05cef6b4e2c32a8f3d6ab42112b643fe05c4e.zip
Remove std::move that was preventing return value optimization.
llvm-svn: 226357
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp b/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
index 36565cb6e2c..b3ff79750b4 100644
--- a/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
+++ b/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
@@ -125,7 +125,7 @@ ento::createCheckerManager(AnalyzerOptions &opts, const LangOptions &langOpts,
}
- return std::move(checkerMgr);
+ return checkerMgr;
}
void ento::printCheckerHelp(raw_ostream &out, ArrayRef<std::string> plugins) {
OpenPOWER on IntegriCloud