OSDN Git Service

[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)
commit929e74568e3bb499ef14a265f49fdb974c684f1c
treebca7d936b2cd7ce49afdca7957dee3407f680cde
parent54e2a7e2a56fb20024a5696d3e68502ae88b2501
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332325 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Unix/Signals.inc