llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-static-analyzer-1 Author: Balazs Benics (steakhal) <details> <summary>Changes</summary> There was one place I forgot to update, clang-tidy. I only ran the CSA tests in #<!-- -->128368. Fixes: https://lab.llvm.org/buildbot/#/builders/52/builds/6286/steps/9/logs/stdio --- Full diff: https://github.com/llvm/llvm-project/pull/128499.diff 1 Files Affected: - (modified) clang-tools-extra/clang-tidy/ClangTidy.cpp (+1-1) ``````````diff diff --git a/clang-tools-extra/clang-tidy/ClangTidy.cpp b/clang-tools-extra/clang-tidy/ClangTidy.cpp index 959b11777e88d..733a53a0f5dcc 100644 --- a/clang-tools-extra/clang-tidy/ClangTidy.cpp +++ b/clang-tools-extra/clang-tidy/ClangTidy.cpp @@ -462,7 +462,7 @@ ClangTidyASTConsumerFactory::createASTConsumer( std::unique_ptr<ento::AnalysisASTConsumer> AnalysisConsumer = ento::CreateAnalysisConsumer(Compiler); AnalysisConsumer->AddDiagnosticConsumer( - new AnalyzerDiagnosticConsumer(Context)); + std::make_unique<AnalyzerDiagnosticConsumer>(Context)); Consumers.push_back(std::move(AnalysisConsumer)); } #endif // CLANG_TIDY_ENABLE_STATIC_ANALYZER `````````` </details> https://github.com/llvm/llvm-project/pull/128499 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits