Author: dergachev
Date: Thu Jan 17 17:37:14 2019
New Revision: 351505

URL: http://llvm.org/viewvc/llvm-project?rev=351505&view=rev
Log:
[analyzer] A speculative fix for buildbot failures in the new SymbolReaperTest.

I expect an xvalue to be easier to convert.

Modified:
    cfe/trunk/unittests/StaticAnalyzer/SymbolReaperTest.cpp

Modified: cfe/trunk/unittests/StaticAnalyzer/SymbolReaperTest.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/StaticAnalyzer/SymbolReaperTest.cpp?rev=351505&r1=351504&r2=351505&view=diff
==============================================================================
--- cfe/trunk/unittests/StaticAnalyzer/SymbolReaperTest.cpp (original)
+++ cfe/trunk/unittests/StaticAnalyzer/SymbolReaperTest.cpp Thu Jan 17 17:37:14 
2019
@@ -105,8 +105,7 @@ public:
   SuperRegionLivenessAction() {}
   std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &Compiler,
                                                  StringRef File) override {
-    auto Consumer = llvm::make_unique<SuperRegionLivenessConsumer>(Compiler);
-    return Consumer;
+    return llvm::make_unique<SuperRegionLivenessConsumer>(Compiler);
   }
 };
 


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to