Skip to content

Commit

Permalink
[clang-tidy] Fix build after 3dc1594
Browse files Browse the repository at this point in the history
  • Loading branch information
d0k committed Feb 24, 2025
1 parent 6aea630 commit e1cc5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-tidy/ClangTidy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1cc5e9

Please sign in to comment.