r351505 - [analyzer] A speculative fix for buildbot failures in the new SymbolReaperTest.
Artem Dergachev via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 17 17:37:14 PST 2019
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);
}
};
More information about the cfe-commits
mailing list