projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
356aa46
)
Rangify for loop in Cleanup(), NFC.
author
Yaron Keren
<yaron.keren@gmail.com>
Tue, 19 May 2015 13:32:19 +0000
(13:32 +0000)
committer
Yaron Keren
<yaron.keren@gmail.com>
Tue, 19 May 2015 13:32:19 +0000
(13:32 +0000)
llvm-svn: 237695
llvm/lib/Support/Windows/Signals.inc
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Windows/Signals.inc
b/llvm/lib/Support/Windows/Signals.inc
index
26c3c6e
..
6006499
100644
(file)
--- a/
llvm/lib/Support/Windows/Signals.inc
+++ b/
llvm/lib/Support/Windows/Signals.inc
@@
-459,8
+459,8
@@
static void Cleanup() {
}
if (CallBacksToRun)
- for (
unsigned i = 0, e = CallBacksToRun->size(); i != e; ++i
)
-
(*CallBacksToRun)[i].first((*CallBacksToRun)[i]
.second);
+ for (
auto &I : *CallBacksToRun
)
+
I.first(I
.second);
LeaveCriticalSection(&CriticalSection);
}