Skip to content

Commit 8f1192a

Browse files
committed
format
1 parent c51faad commit 8f1192a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

llvm/lib/Support/DebugCounter.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,7 @@ static ManagedStatic<DebugCounterOwner> Owner;
178178

179179
void llvm::initDebugCounterOptions() { (void)DebugCounter::instance(); }
180180

181-
DebugCounter &DebugCounter::instance() {
182-
return *Owner;
183-
}
181+
DebugCounter &DebugCounter::instance() { return *Owner; }
184182

185183
// This is called by the command line parser when it sees a value for the
186184
// debug-counter option defined above.
@@ -259,8 +257,8 @@ bool DebugCounter::shouldExecuteImpl(CounterInfo &Counter) {
259257
auto &Us = instance();
260258
bool Res = Us.handleCounterIncrement(Counter);
261259
if (Us.ShouldPrintCounterQueries && Counter.IsSet) {
262-
dbgs() << "DebugCounter " << Counter.Name << "="
263-
<< (Counter.Count - 1) << (Res ? " execute" : " skip") << "\n";
260+
dbgs() << "DebugCounter " << Counter.Name << "=" << (Counter.Count - 1)
261+
<< (Res ? " execute" : " skip") << "\n";
264262
}
265263
return Res;
266264
}

0 commit comments

Comments
 (0)