From d4b05cef6b4e2c32a8f3d6ab42112b643fe05c4e Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Sat, 17 Jan 2015 00:46:55 +0000 Subject: [PATCH] Remove std::move that was preventing return value optimization. llvm-svn: 226357 --- clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp b/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp index 36565cb..b3ff797 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 plugins) { -- 2.7.4