mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-03 09:14:30 +00:00
Use auto instead of the long type name. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236768 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d887b7ef2f
commit
82b39321e5
@ -206,8 +206,7 @@ static RETSIGTYPE SignalHandler(int Sig) {
|
||||
|
||||
// Otherwise if it is a fault (like SEGV) run any handler.
|
||||
if (CallBacksToRun.isConstructed()) {
|
||||
std::vector<std::pair<void (*)(void *), void *>>& CallBacksToRunRef =
|
||||
*CallBacksToRun;
|
||||
auto &CallBacksToRunRef = *CallBacksToRun;
|
||||
for (unsigned i = 0, e = CallBacksToRun->size(); i != e; ++i)
|
||||
CallBacksToRunRef[i].first(CallBacksToRunRef[i].second);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user