From 29a4f188299db40858e23ec27c85ff516df33c4f Mon Sep 17 00:00:00 2001 From: Balazs Benics Date: Mon, 24 Feb 2025 12:40:17 +0100 Subject: [PATCH] [analyzer][clang-tidy] Fixup build after 3dc159431be7 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 --- clang-tools-extra/clang-tidy/ClangTidy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 AnalysisConsumer = ento::CreateAnalysisConsumer(Compiler); AnalysisConsumer->AddDiagnosticConsumer( - new AnalyzerDiagnosticConsumer(Context)); + std::make_unique(Context)); Consumers.push_back(std::move(AnalysisConsumer)); } #endif // CLANG_TIDY_ENABLE_STATIC_ANALYZER