]> granicus.if.org Git - clang/commit
[Testing] Workaround libcxx bug when OS is "none"
authorDavid Zarzycki <dave@znu.io>
Thu, 26 Sep 2019 08:19:44 +0000 (08:19 +0000)
committerDavid Zarzycki <dave@znu.io>
Thu, 26 Sep 2019 08:19:44 +0000 (08:19 +0000)
commitf2742c1b8acebbf30f75922dfc0be587c7e1381b
tree3a14cf01cd971980a90daa55ea9c82ed49e1eaef
parent8e27d79e3de4bce573acd8b8c669bea0d28e7af8
[Testing] Workaround libcxx bug when OS is "none"

If clang is configured to use libcxx as the default C++ standard
library, then using "none" for the OS in the target triple will cause
libcxx to #error needlessly. Passing -nostdinc++ is a workaround for
these tests. See also: https://reviews.llvm.org/D68075

Please note: this workaround will probably exist for a few years until
the installed version of libcxx is updated.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372949 91177308-0d34-0410-b5e6-96231b3b80d8
test/Headers/arm-fp16-header.c
test/Headers/arm-neon-header.c