Remove std::move that was preventing return value optimization.
authorRichard Trieu <rtrieu@google.com>
Sat, 17 Jan 2015 00:46:55 +0000 (00:46 +0000)
committerRichard Trieu <rtrieu@google.com>
Sat, 17 Jan 2015 00:46:55 +0000 (00:46 +0000)
llvm-svn: 226357

clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp

index 36565cb..b3ff797 100644 (file)
@@ -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) {