summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cpath.c
Commit message (Collapse)AuthorAgeFilesLines
* [clang] Get rid of "%T" expansionsKuba Mracek2017-08-151-4/+4
| | | | | | | | | | The %T lit expansion expands to a common directory shared between all the tests in the same directory, which is unexpected and unintuitive, and more importantly, it's been a source of subtle race conditions and flaky tests. In https://reviews.llvm.org/D35396, it was agreed that it would be best to simply ban %T and only keep %t, which is unique to each test. When a test needs a temporary directory, it can just create one using mkdir %t. This patch removes %T in clang. Differential Revision: https://reviews.llvm.org/D36437 llvm-svn: 310950
* [driver] Older versions of ld expect '-L<dir>' not '-L <dir>'. In Xcode4 andChad Rosier2012-10-301-2/+2
| | | | | | | | later, '-L <dir>' is allowed, but rewrite these in the driver as '-L<dir>' to maintain backward compatibility. The same is true for the -I option. rdar://12366753 llvm-svn: 167054
* test/Driver/cpath.c: Escape a few args that contain %{pathsep}.NAKAMURA Takumi2012-03-251-2/+2
| | | | | | | | | | | | | | | | On msys bash, with %pathsep==os.pathsep==';', I can see lines like below in this script; env DIR=X:/foo%{pathsep}X:/bar Then it is expanded to; env DIR=X:/foo;X:/bar It should be with quote; env "DIR=X:/foo;X:/bar" llvm-svn: 153402
* Try to get cpath.c passing on windows, using lit's new ${pathsep} variable.Nico Weber2012-03-211-5/+2
| | | | llvm-svn: 153214
* test/Driver/cpath.c: Mark this as XFAIL:mingw32,win32 for now.NAKAMURA Takumi2012-03-191-0/+3
| | | | | | On Win32 hosts, ';' is used for path separator. llvm-svn: 153037
* Fix a regression where ':' in CPLUS_INCLUDE_PATH and friends would no longer ↵Nico Weber2012-03-191-8/+10
| | | | | | | | separate paths. This regressed in r152583. Also add a test to make sure it doesn't regress again. llvm-svn: 153034
* [driver] Fix test case for Windows due to fallout from r141202+r141205.Chad Rosier2011-10-061-2/+2
| | | | llvm-svn: 141322
* Reenable -cxx-isystem for Objective C++, until I come up with a better solutionBenjamin Kramer2011-09-231-2/+2
| | | | llvm-svn: 140365
* Don't test unix path seperators, that will fail on windows.Benjamin Kramer2011-09-221-2/+2
| | | | llvm-svn: 140343
* See if going through env pacifies the windows buildbots.Benjamin Kramer2011-09-221-3/+3
| | | | llvm-svn: 140342
* Add support for CPATH and friends.Benjamin Kramer2011-09-221-0/+20
This moves the existing code for CPATH into the driver and adds the environment lookup and path splitting there. The paths are then passed down to cc1 with -I options (CPATH), added after the normal user-specified include dirs. Language specific paths are passed via -LANG-isystem and the actual filtering is performed in the frontend. I tried to match GCC's behavior as close as possible Fixes PR8971. llvm-svn: 140341
OpenPOWER on IntegriCloud