[NFC] pull a function into its own lambda
authorJF Bastien <jfb@google.com>
Tue, 15 May 2018 04:23:48 +0000 (04:23 +0000)
committerJF Bastien <jfb@google.com>
Tue, 15 May 2018 04:23:48 +0000 (04:23 +0000)
commit9f62b4c8a8080397d677a418a32527f4ce8a0dbd
tree59cce5644c910e977591a51857831230f628b5ae
parent58fdb3b09aae005c594ea66bfb85b395d7193636
[NFC] pull a function into its own lambda

As requested in D46858, pulling this function into its own lambda makes it
easier to read that part of the code and reason as to what's going on because
the scope it can be called from is extremely limited. We want to keep it as a
function because it's called from the two subsequent lines.

llvm-svn: 332325
llvm/lib/Support/Unix/Signals.inc