[libc++abi] Add -Wno-unreachable-code when building test for throwing incomplete...
authorLouis Dionne <ldionne@apple.com>
Fri, 1 May 2020 19:27:54 +0000 (15:27 -0400)
committerLouis Dionne <ldionne@apple.com>
Fri, 1 May 2020 19:29:40 +0000 (15:29 -0400)
commit78769923fe03b6d8dfcd3dad69b6f3eff5a2f813
tree1aeec5b90a6c5eaef60f6cacb8c6153d75669583
parentcac8cd0a16e9c0410e33aaca93c760c503eeb68e
[libc++abi] Add -Wno-unreachable-code when building test for throwing incomplete types

Slightly older Clangs seem to think they are more clever than they really
are, and they think the code can never be executed. The code can actually
be executed in case the exception runtime is mis-implemented, which is
exactly what this test is testing. This commit just disables the spurious
warning.
libcxxabi/test/incomplete_type.sh.cpp