From: Artem Dergachev Date: Fri, 18 Jan 2019 01:37:14 +0000 (+0000) Subject: [analyzer] A speculative fix for buildbot failures in the new SymbolReaperTest. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=388b6bb796752110b2bf63d9467d9e5122197dac;p=clang [analyzer] A speculative fix for buildbot failures in the new SymbolReaperTest. I expect an xvalue to be easier to convert. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351505 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/StaticAnalyzer/SymbolReaperTest.cpp b/unittests/StaticAnalyzer/SymbolReaperTest.cpp index 9f74a644a6..a74cf8b9c6 100644 --- a/unittests/StaticAnalyzer/SymbolReaperTest.cpp +++ b/unittests/StaticAnalyzer/SymbolReaperTest.cpp @@ -105,8 +105,7 @@ public: SuperRegionLivenessAction() {} std::unique_ptr CreateASTConsumer(CompilerInstance &Compiler, StringRef File) override { - auto Consumer = llvm::make_unique(Compiler); - return Consumer; + return llvm::make_unique(Compiler); } };