Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit aa39cf1

Browse files
committed
Adapt to LLVM EnableStatistics() change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282533 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 709c3c4 commit aa39cf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Frontend/CompilerInstance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ bool CompilerInstance::ExecuteAction(FrontendAction &Act) {
859859
createFrontendTimer();
860860

861861
if (getFrontendOpts().ShowStats || !getFrontendOpts().StatsFile.empty())
862-
llvm::EnableStatistics();
862+
llvm::EnableStatistics(false);
863863

864864
for (const FrontendInputFile &FIF : getFrontendOpts().Inputs) {
865865
// Reset the ID tables if we are reusing the SourceManager and parsing

lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class AnalysisConsumer : public AnalysisASTConsumer,
188188
Injector(injector) {
189189
DigestAnalyzerOptions();
190190
if (Opts->PrintStats) {
191-
llvm::EnableStatistics();
191+
llvm::EnableStatistics(false);
192192
TUTotalTimer = new llvm::Timer("Analyzer Total Time");
193193
}
194194
}

0 commit comments

Comments
 (0)