From: Richard Trieu Date: Sat, 17 Jan 2015 00:46:55 +0000 (+0000) Subject: Remove std::move that was preventing return value optimization. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24e0975f837f903fd67e8ed2a0595fd741e4cb72;p=clang 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 --- 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) {