Nico Weber
23f256f2b1
[clang] Fix typo in test from a723310b4
...
We want the driver-level flag here, else the test passes for the wrong reasons.
See comments on https://reviews.llvm.org/D99901 .
2021-09-10 14:16:45 -04:00
Jinsong Ji
a723310b41
[Driver][test] Test intended target only
...
6fe7de90b9
changed GNU toolchain,
and added new RUN line to test expected behavior.
The change is for GNU toolchain only, so this will fail other toolchain,
eg: AIX.
Update the test with `-target` to test GNU tool chain only.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D99901
2021-04-07 20:08:26 +00:00
Fangrui Song
6fe7de90b9
[Driver] -nostdinc -nostdinc++: don't warn for -Wunused-command-line-argument
2021-04-01 14:37:34 -07:00
Fangrui Song
53c98d85a8
[Driver] Suppress libstdc++/libc++ path with -nostdinc
...
This follows GCC. Having libstdc++/libc++ include paths is not useful
anyway because libstdc++/libc++ header files cannot find features.h.
While here, suppress -stdlib++-isystem with -nostdlibinc.
2021-03-28 11:30:27 -07:00
Paul Robinson
4b66e0fd47
Replace lit feature keyword 'non-ms-sdk' with 'ms-sdk'; eliminate
...
'non-ps4-sdk' and use just 'ps4'.
llvm-svn: 360425
2019-05-10 13:40:17 +00:00
Filipe Cabecinhas
18a72611f1
Special-case the PS4 SDK for a clang test
...
Original patch by Gao Yunzhong!
llvm-svn: 227593
2015-01-30 18:25:59 +00:00
NAKAMURA Takumi
0884887775
check-clang: Introduce the feature "non-ms-sdk" to suppress Driver/nostdincxx.cpp on msvc.
...
llvm-svn: 201484
2014-02-16 10:15:57 +00:00
Rafael Espindola
925213b0fa
Add 'not' to commands that are expected to fail.
...
This is at least good documentation, but also opens the possibility of
using pipefail.
llvm-svn: 185652
2013-07-04 16:16:58 +00:00
Douglas Gregor
cc9c92cfc2
XFAIL the -nostdinc++ test on Windows; it doesn't look like we even have the notion of separate C and C++ paths there
...
llvm-svn: 99422
2010-03-24 20:45:20 +00:00
Douglas Gregor
64b046fce4
Implement support for -nostdc++. Fixes PR6446.
...
llvm-svn: 99417
2010-03-24 20:13:48 +00:00