[libc++] Refactor the selection of string's ABI in __config
authorLouis Dionne <ldionne.2@gmail.com>
Mon, 19 Jun 2023 16:58:51 +0000 (12:58 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 21 Jun 2023 21:53:57 +0000 (17:53 -0400)
commitbcca95da5ea3e3ff8a829f9e25004ac6b2464928
treeedb80bbf9e140198667b63952c628e7235880723
parent400b3c47c25b2e88acbd15abf0acf07ed65560b9
[libc++] Refactor the selection of string's ABI in __config

This doesn't change the selection, but it expands the conditions to
add comments and make it clearer what's happening. It also removes a
-Wundef instance when we checked __ARM_ARCH_7K__ >= 2 without checking
that it is defined in the first place.

Differential Revision: https://reviews.llvm.org/D153413
libcxx/include/__config