[NFC] Pre- increment and decrement where possible

This commit is contained in:
Anthony Latsis
2020-06-01 15:39:29 +03:00
parent ad0a8d3121
commit 9fd1aa5d59
162 changed files with 398 additions and 397 deletions

View File

@@ -374,9 +374,9 @@ namespace driver {
if (auto *Stats = Comp.getStatsReporter()) {
auto &D = Stats->getDriverCounters();
if (Skipped)
D.NumDriverJobsSkipped++;
++D.NumDriverJobsSkipped;
else
D.NumDriverJobsRun++;
++D.NumDriverJobsRun;
}
auto BlockedIter = BlockingCommands.find(Cmd);
if (BlockedIter != BlockingCommands.end()) {