r226357 - Remove std::move that was preventing return value optimization.

Richard Trieu rtrieu at google.com
Fri Jan 16 16:46:56 PST 2015


Author: rtrieu
Date: Fri Jan 16 18:46:55 2015
New Revision: 226357

URL: http://llvm.org/viewvc/llvm-project?rev=226357&view=rev
Log:
Remove std::move that was preventing return value optimization.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp?rev=226357&r1=226356&r2=226357&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp Fri Jan 16 18:46:55 2015
@@ -125,7 +125,7 @@ ento::createCheckerManager(AnalyzerOptio
 
   }
 
-  return std::move(checkerMgr);
+  return checkerMgr;
 }
 
 void ento::printCheckerHelp(raw_ostream &out, ArrayRef<std::string> plugins) {





More information about the cfe-commits mailing list