llvm-project/libcxx/test/configs
Nikolas Klauser bd44174547 [libc++] Use -I instead of -isystem to include headers in the test suite
Using -isystem marks the headers as system headers, which means that we
don't actually get all the warnings that we'd normally get if we included
the headers as user headers.

The goal of the test suite is normally to mirror as closely as possible
how users would use the library. Technically, this change goes against
that philosophy, since users should be using `-isystem` (if they ever
need to specify the libc++ path explicitly, which should be a rare
occurence). However, I believe fishing out additional warnings from
the headers provides more value, hence this change. Ideally, we'd be
able to still use `-isystem`, but instruct Clang to still emit warnings
from the libc++ headers (e.g. we could tell Clang to emit warnings in
any file inside `<...>/usr/include/c++/v1`).

Reviewed By: #libc, ldionne, #libc_abi

Spies: Mordante, EricWF, mstorsjo, mgorny, aheejin, arichardson, philnik, jloser, libcxx-commits

Differential Revision: https://reviews.llvm.org/D118616
2022-03-03 13:19:47 +01:00
..
apple-libc++-backdeployment.cfg.in [libc++abi] Add a from-scratch testing config for Apple backdeployment 2022-02-14 15:36:50 -05:00
apple-libc++-shared.cfg.in [libc++] Use -I instead of -isystem to include headers in the test suite 2022-03-03 13:19:47 +01:00
cmake-bridge.cfg.in [libcxx] [test] Place output from newconfig tests under a 'test' subdir 2022-03-01 23:44:26 +02:00
ibm-libc++-shared.cfg.in [libc++] Use -I instead of -isystem to include headers in the test suite 2022-03-03 13:19:47 +01:00
legacy.cfg.in [runtimes] Remove FOO_TARGET_TRIPLE, FOO_SYSROOT and FOO_GCC_TOOLCHAIN 2022-03-01 08:39:42 -05:00
llvm-libc++-mingw.cfg.in [libc++] Use -I instead of -isystem to include headers in the test suite 2022-03-03 13:19:47 +01:00
llvm-libc++-shared-clangcl.cfg.in [libc++] Use -I instead of -isystem to include headers in the test suite 2022-03-03 13:19:47 +01:00
llvm-libc++-shared-gcc.cfg.in [libc++] Use -I instead of -isystem to include headers in the test suite 2022-03-03 13:19:47 +01:00
llvm-libc++-shared.cfg.in [libc++] Use -I instead of -isystem to include headers in the test suite 2022-03-03 13:19:47 +01:00
llvm-libc++-static-clangcl.cfg.in [libc++] Use -I instead of -isystem to include headers in the test suite 2022-03-03 13:19:47 +01:00
llvm-libc++-static.cfg.in [libc++] Use -I instead of -isystem to include headers in the test suite 2022-03-03 13:19:47 +01:00