Skip to content

Conversation

@steakhal
Copy link
Contributor

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

There was one place I forgot to update, clang-tidy.
I only ran the CSA tests in llvm#128368.

Fixes:
https://lab.llvm.org/buildbot/#/builders/52/builds/6286/steps/9/logs/stdio
@llvmbot
Copy link
Member

llvmbot commented Feb 24, 2025

@llvm/pr-subscribers-clang-tools-extra
@llvm/pr-subscribers-clang-tidy

@llvm/pr-subscribers-clang-static-analyzer-1

Author: Balazs Benics (steakhal)

Changes

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 --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

@steakhal steakhal requested a review from Xazax-hun February 24, 2025 11:42
@mikaelholmen
Copy link
Collaborator

Done already in e1cc5e9

@steakhal
Copy link
Contributor Author

Done already in e1cc5e9

Thank you @d0k, @mikaelholmen!

@steakhal steakhal closed this Feb 24, 2025
@steakhal steakhal deleted the bb/fixup-build-after-3dc159431be7 branch February 24, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants