Skip to content

Commit e1cc5e9

Browse files
committed
[clang-tidy] Fix build after 3dc1594
1 parent 6aea630 commit e1cc5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-tidy/ClangTidy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ ClangTidyASTConsumerFactory::createASTConsumer(
462462
std::unique_ptr<ento::AnalysisASTConsumer> AnalysisConsumer =
463463
ento::CreateAnalysisConsumer(Compiler);
464464
AnalysisConsumer->AddDiagnosticConsumer(
465-
new AnalyzerDiagnosticConsumer(Context));
465+
std::make_unique<AnalyzerDiagnosticConsumer>(Context));
466466
Consumers.push_back(std::move(AnalysisConsumer));
467467
}
468468
#endif // CLANG_TIDY_ENABLE_STATIC_ANALYZER

0 commit comments

Comments
 (0)