projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
add5ea6
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237695
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Windows/Signals.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Windows/Signals.inc
b/lib/Support/Windows/Signals.inc
index 26c3c6e111ab55039100760c2a3a71d84a55d70e..6006499f4da27d4358bbb75bb42c3a0433875a81 100644
(file)
--- a/
lib/Support/Windows/Signals.inc
+++ b/
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);
}