From 24e0975f837f903fd67e8ed2a0595fd741e4cb72 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226357 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp b/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp index 36565cb6e2..b3ff79750b 100644 --- a/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp +++ b/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.40.0