]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226357 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp

index 36565cb6e2cac2793cf955a505218de9ec75a499..b3ff79750b492b3ab092e5526237d707652d148f 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) {