We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aea630 commit e1cc5e9Copy full SHA for e1cc5e9
clang-tools-extra/clang-tidy/ClangTidy.cpp
@@ -462,7 +462,7 @@ ClangTidyASTConsumerFactory::createASTConsumer(
462
std::unique_ptr<ento::AnalysisASTConsumer> AnalysisConsumer =
463
ento::CreateAnalysisConsumer(Compiler);
464
AnalysisConsumer->AddDiagnosticConsumer(
465
- new AnalyzerDiagnosticConsumer(Context));
+ std::make_unique<AnalyzerDiagnosticConsumer>(Context));
466
Consumers.push_back(std::move(AnalysisConsumer));
467
}
468
#endif // CLANG_TIDY_ENABLE_STATIC_ANALYZER
0 commit comments