File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ using Statistic = NoopStatistic;
173173 static llvm::TrackingStatistic VARNAME = {DEBUG_TYPE, #VARNAME, DESC}
174174
175175// / Enable the collection and printing of statistics.
176- void EnableStatistics (bool PrintOnExit = true );
176+ void EnableStatistics (bool DoPrintOnExit = true );
177177
178178// / Check if statistics are enabled.
179179bool AreStatisticsEnabled ();
Original file line number Diff line number Diff line change @@ -123,9 +123,9 @@ StatisticInfo::~StatisticInfo() {
123123 llvm::PrintStatistics ();
124124}
125125
126- void llvm::EnableStatistics (bool PrintOnExit ) {
126+ void llvm::EnableStatistics (bool DoPrintOnExit ) {
127127 Enabled = true ;
128- :: PrintOnExit = PrintOnExit ;
128+ PrintOnExit = DoPrintOnExit ;
129129}
130130
131131bool llvm::AreStatisticsEnabled () {
You can’t perform that action at this time.
0 commit comments