CommandLine: Replace cold std::sort with array_pod_sort.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 14 Mar 2015 00:20:13 +0000 (00:20 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 14 Mar 2015 00:20:13 +0000 (00:20 +0000)
commit7cb3aa3ed506e732de99c70e504d74774af7e2c8
treee58ce89ac2e742e83ceac5142462562de9a19446
parent99e2c354a8f485bbe392e52403bd1a689cbf48d8
CommandLine: Replace cold std::sort with array_pod_sort.

Also replace an old use of qsort with it. Compiles down to the same thing but
gives us some type safety. Safes a couple of kb on CommandLine.o.

NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232236 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/CommandLine.cpp