Skip to content

Commit 41835cb

Browse files
committed
remove unneeded assert
Created using spr 1.3.5-bogner
2 parents d7a856d + 186bd8e commit 41835cb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ Non-comprehensive list of changes in this release
431431
which allows them to be stored in STL containers.
432432

433433
- In the ``-ftime-report`` output, the new "Clang time report" group replaces
434-
the old "Clang front-end time report" and shows "Front end", "LLVM IR
434+
the old "Clang front-end time report" and includes "Front end", "LLVM IR
435435
generation", "Optimizer", and "Machine code generation".
436436

437437
New Compiler Flags

llvm/lib/Support/Timer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ void Timer::clear() {
175175
}
176176

177177
void Timer::yieldTo(Timer &O) {
178-
assert(Running && "Cannot stop a paused timer");
179178
stopTimer();
180179
O.startTimer();
181180
}

0 commit comments

Comments
 (0)