Yaron Keren
b1db6e888b
Erase REQUIRES: shell-preserves-root from more tests, see r242312.
...
llvm-svn: 242321
2015-07-15 19:42:18 +00:00
Yaron Keren
1fdd7db7fc
Fix test to run under MSYS2 by disabling MSYS conversion of /C /TP /TC.
...
Thanks to Alexpux.
llvm-svn: 242283
2015-07-15 10:45:25 +00:00
Nico Weber
1f0f165d50
clang-cl: Don't look up absolute paths in %LIB%.
...
Before this patch, passing a non-existent absolute path to clang-cl would cause
stat'ing of impossible paths. For example, `clang-cl -c d:\adsfasdf.txt` would
cause a stat of
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\LIBd:\asdfadsf.cc
llvm-svn: 235787
2015-04-24 22:16:53 +00:00
Ehsan Akhgari
c249abba05
clang-cl: Warn when a /TC or /TP argument is unused
...
Test Plan: The patch includes a test case.
Reviewers: hansw
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D5338
llvm-svn: 217710
2014-09-12 21:44:24 +00:00
Ehsan Akhgari
7e954ea063
clang-cl: Don't treat linker input files differently when /TP or /TC is specified.
...
Summary: This fixes http://llvm.org/PR20923 .
Test Plan: This patch includes an automated test.
Reviewers: hansw
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D5334
llvm-svn: 217699
2014-09-12 18:15:10 +00:00
Reid Kleckner
7d0c066346
Relax the cl-inputs.c test a little bit in case link.exe is on PATH
...
llvm-svn: 211224
2014-06-18 21:34:36 +00:00
Hans Wennborg
23d26a3ef7
Make clang-cl accept .lib inputs (PR20065)
...
Patch by Ehsan Akhgari!
(Tiny tweak by me: renamed PathSegment to LibDir.)
Differential Revision: http://reviews.llvm.org/D4192
llvm-svn: 211189
2014-06-18 17:21:50 +00:00
Hans Wennborg
cfdd8b54cf
clang-cl: Better error message when trying to compile stdin (PR18640)
...
We should suggest using /Tc or /Tp to set the input type, instead of
erroneously suggesting -x, which isn't a clang-cl flag.
llvm-svn: 200362
2014-01-29 01:04:40 +00:00
Hans Wennborg
24ffd63626
Remove Windows line-endings in two clang-cl test files.
...
llvm-svn: 190432
2013-09-10 20:35:58 +00:00
Hans Wennborg
0d0b19cbe1
clang-cl: Expand warning about /TC and /TP override, and expand test
...
llvm-svn: 188190
2013-08-12 18:34:17 +00:00
Hans Wennborg
6ee64d52cf
clang-cl: Implement the /Tc, /TC, /Tp and /TP options.
...
These are used to specify source files, and whether to treat source
files as C or C++.
Differential Revision: http://llvm-reviews.chandlerc.com/D1290
llvm-svn: 187760
2013-08-06 00:20:31 +00:00