Nuno Lopes
d4e42830cb
add latest gentoo gcc path
...
llvm-svn: 113696
2010-09-11 17:51:45 +00:00
Daniel Dunbar
0166c95fdd
Frontend: Add -cxx-system-include option which can be used to specify an
...
explicit list for the C++ system include directories at the -cc1 level, as an
alternative to the horrible AddDefaultCPlusPlusIncludePaths().
llvm-svn: 113505
2010-09-09 17:38:22 +00:00
Daniel Dunbar
1cf2d54987
Fix indentation.
...
llvm-svn: 113504
2010-09-09 17:38:18 +00:00
Chris Lattner
c766b6edd1
fix lookup of bits/c++config.h on mingw, patch by Ismail Donmez!
...
llvm-svn: 112969
2010-09-03 16:45:53 +00:00
Chris Lattner
988fd16060
add a new version of mingw, patch by İsmail "cartman" Dönmez
...
in PR8049
llvm-svn: 112710
2010-09-01 15:51:58 +00:00
Anton Korobeynikov
1b80c2aaee
Add NetBSD include search path
...
llvm-svn: 112663
2010-08-31 22:39:50 +00:00
Chris Lattner
576048657e
correct the -isystem option to not add the -isysroot path. Only the weird
...
-iwithsysroot flag should do that. This fixes rdar://8345942
llvm-svn: 111979
2010-08-24 22:27:37 +00:00
Eli Friedman
04831926ec
Detabify.
...
llvm-svn: 111768
2010-08-22 01:00:03 +00:00
Michael J. Spencer
b186bc3c4b
Visual Studio tools used on win32 hosts when targeting win32.
...
llvm-svn: 111748
2010-08-21 21:55:07 +00:00
Daniel Dunbar
ea3813fbc9
Driver/OpenBSD: Update toolchain for compiler changes / C++; patch by Jonathan
...
Gray.
llvm-svn: 109994
2010-08-01 23:13:54 +00:00
Nick Lewycky
e602efc6f6
Remove emacs file mode marker on file with .cpp extension.
...
llvm-svn: 109366
2010-07-25 03:12:58 +00:00
Nick Lewycky
84a11fdf57
Add header searching for llvm-gcc trunk on Gentoo AMD64. Patch by Mark Wood!
...
llvm-svn: 109357
2010-07-24 21:33:13 +00:00
Chris Lattner
3e2ee147d0
add driver support for minix, patch by Kees van Reeuwijk
...
from PR7583
llvm-svn: 107788
2010-07-07 16:01:42 +00:00
Douglas Gregor
f56055aee3
Add Cygwin C++ header search path.
...
llvm-svn: 106108
2010-06-16 16:24:51 +00:00
Rafael Espindola
92eb2cbbef
Add ARM paths for debian. Not enough to bootstrap on a beagle board, but
...
moves us further.
llvm-svn: 105468
2010-06-04 14:28:10 +00:00
Douglas Gregor
117ef277cb
More PowerPC paths on Darwin
...
llvm-svn: 105084
2010-05-29 01:21:11 +00:00
Douglas Gregor
eb0bdf08dc
Add C++ include paths for Darwin PowerPC
...
llvm-svn: 105083
2010-05-29 01:15:12 +00:00
Chris Lattner
2304c4d0ff
add fedora 13 paths, patch by Hendrik Richter.
...
llvm-svn: 105082
2010-05-29 01:01:38 +00:00
Daniel Dunbar
eaff5fa30a
Frontend: Sprinkle in some C++ header paths for ARM/Darwin. Also, don't add x86
...
paths on non-x86.
I really detest this file.
llvm-svn: 104921
2010-05-28 01:54:31 +00:00
Douglas Gregor
923d2252dc
"The attached patch allows clang to find the headers
...
for Visual Studio 2010. It also adds a registry search
for the Express edition,", from Steven Watanabe!
llvm-svn: 104015
2010-05-18 05:47:04 +00:00
mike-m
c6da261fb4
Moved clang-builtin include dir position to immediately precede C includes.
...
This aligns with how gcc compiler does things.
llvm-svn: 103912
2010-05-16 19:03:52 +00:00
mike-m
b49148807a
Reverted part of r103177 (repositioning of clang-builtin include/)
...
which breaks clang-i686-xp-msvc9 test-clang.
llvm-svn: 103180
2010-05-06 15:23:52 +00:00
mike-m
94ab2902fe
Reposition clang-builtin include/ to immediately precede /usr/include/,
...
matching gcc compiler. Fixes #include_next <...> shenanigans that lead to
file-not-found failures with <cstddef> on libstdc++ 4.3.[012].
Updated C++ include header search paths for various Debian/Ubuntu and Fedora
linux distros.
llvm-svn: 103177
2010-05-06 14:11:13 +00:00
mike-m
6fa3cd26e9
Test commit.
...
llvm-svn: 103090
2010-05-05 17:00:31 +00:00
Chris Lattner
5561bf3d11
fit in 80 cols
...
llvm-svn: 103075
2010-05-05 05:28:39 +00:00
Chris Lattner
092d1c9f64
add GNU C++ include paths for Fedora 11,12 x86_64,
...
patch by mikem!
llvm-svn: 102177
2010-04-23 15:55:20 +00:00
Dan Gohman
145f3f1e83
Fix -Wcast-qual warnings.
...
llvm-svn: 101786
2010-04-19 16:39:44 +00:00
Chris Lattner
b986aba6db
add haiku support, patch by Paul Davey!
...
llvm-svn: 100982
2010-04-11 19:29:39 +00:00
Douglas Gregor
64b046fce4
Implement support for -nostdc++. Fixes PR6446.
...
llvm-svn: 99417
2010-03-24 20:13:48 +00:00
Chris Lattner
8341c390aa
on both the mac and linux, /usr/local/include is treated
...
as a "C++ Friendly" system header directory. This fixes
PR6523.
llvm-svn: 97885
2010-03-06 19:38:10 +00:00
Eric Christopher
6197c1cd8c
Remove the linux c includes part of my last patch.
...
llvm-svn: 97679
2010-03-03 23:27:49 +00:00
Eric Christopher
114a85381a
Add in more c++ header paths for later gccs under gentoo linux.
...
Add in c header path for various linuxes as well.
Partial patch from Christian Adåker!
llvm-svn: 97666
2010-03-03 21:41:50 +00:00
Nick Lewycky
48f74d2c9a
Debian sid moved these headers into /4.4 and left /4.4.3 as a symlink. Update.
...
Also, add support for 32-bit x86 Debian sid.
llvm-svn: 97347
2010-02-27 22:35:43 +00:00
Chris Lattner
ef538b52a3
add support for t Fedora 12 (February 2010), patch by
...
Dyachenko Dmitry. Our system is "not so elegant" here.
llvm-svn: 96111
2010-02-13 19:18:26 +00:00
Benjamin Kramer
ea9f3f240c
Update C++ include paths for Exherbo, by Ingmar Vanhassel.
...
llvm-svn: 94420
2010-01-25 12:20:15 +00:00
Benjamin Kramer
9c22cc800f
Make some helper functions static.
...
llvm-svn: 94004
2010-01-20 16:21:40 +00:00
Benjamin Kramer
c1a62aa67d
Don't store a Twine temporary, it's unsafe.
...
llvm-svn: 94003
2010-01-20 16:18:11 +00:00
Chris Lattner
e87668db26
add support for Fedora 10 x86_64, there really should be a better way to handle this.
...
patch by Dmitry
llvm-svn: 93948
2010-01-19 23:30:00 +00:00
Nuno Lopes
28b40ddbe8
PR6055: fix FreeBSD c++ include path. patch by Roman Divacky
...
llvm-svn: 93668
2010-01-17 00:00:11 +00:00
Chris Lattner
002ba6b4d0
improve support for dragonfly, patch by Sascha Wildner!
...
llvm-svn: 93044
2010-01-09 05:41:14 +00:00
Torok Edwin
d0139fd3e5
Debian has x86_64-linux-gnu, not x86_64-pc-linux-gnu, so add it.
...
llvm-svn: 91698
2009-12-18 17:43:54 +00:00
Torok Edwin
029707885c
Move the 4.4.2 c++ include search to the top, otherwise it was picking the 4.1.3
...
dirs on my system. Which is wrong, since it was missing the x86_64-pc-linux-gnu
suffix.
llvm-svn: 91694
2009-12-18 17:29:14 +00:00
Daniel Dunbar
a5a166d01a
Add -resource-dir to clang -cc1, this allows the base directory for compiler
...
resources (e.g., /usr/lib/clang/1.1) to be passed on the command line instead of
computed.
llvm-svn: 91370
2009-12-15 00:06:45 +00:00
Daniel Dunbar
d613677ec9
CompilerInvocation: Move builtin-include-path logic out of CompilerInvocation::CreateFromArgs.
...
llvm-svn: 91237
2009-12-13 03:45:58 +00:00
Benjamin Kramer
c6ad84cb3c
Twinify InitHeaderSearch::AddPath and use it in C++ include path generation.
...
llvm-svn: 90853
2009-12-08 12:38:20 +00:00
Benjamin Kramer
141c7f987a
Use StringRefs in InitHeaderSearch::AddDelimitedPaths.
...
llvm-svn: 90852
2009-12-08 12:11:06 +00:00
Nuno Lopes
c4413fbb88
add fedora 12 include path
...
llvm-svn: 90772
2009-12-07 17:18:48 +00:00
Daniel Dunbar
f680e7d855
Kill a few more random stderr uses.
...
llvm-svn: 90441
2009-12-03 09:14:02 +00:00
John Thompson
d976d3e552
Put back hard-coded paths for win32 until I figure out what happened to failed tests.
...
llvm-svn: 89677
2009-11-23 17:49:27 +00:00
Rafael Espindola
962e518da2
Reorder the header search a bit so that it matches gcc exactly:
...
*) the ../backward dir is the last in libstdc++ to be searched
*) If compiling c++, the c++ headers are searched first
llvm-svn: 89661
2009-11-23 16:31:19 +00:00
John Thompson
c1b70ab9b8
Revised Win32 include path to search highest version in registry, plus platform SDK path
...
llvm-svn: 89517
2009-11-21 00:15:52 +00:00
Nuno Lopes
11ab472ba1
add Fedora 11 include path. what a crap..
...
llvm-svn: 89098
2009-11-17 15:28:35 +00:00
Daniel Dunbar
92881dbe73
Remove unused IsCXXAware and IgnoreSysRoots option from HeaderSearchOptions::Entry.
...
llvm-svn: 89035
2009-11-17 05:04:15 +00:00
Daniel Dunbar
24347f7cda
Store more information in HeaderSearchOptions so that its initialization is not
...
language dependent.
llvm-svn: 88981
2009-11-16 22:38:40 +00:00
Rafael Espindola
abab87936e
Use configure options for searching for libstdc++.
...
llvm-svn: 88945
2009-11-16 19:49:37 +00:00
Rafael Espindola
46129b0934
Use StringRef::split instead of SplitString.
...
llvm-svn: 87085
2009-11-13 05:13:58 +00:00
Daniel Dunbar
71ed08ba39
Avoid comparing string literals.
...
llvm-svn: 86967
2009-11-12 07:28:29 +00:00
Rafael Espindola
f401fa0386
Use the --with-c-include-dirs configure option.
...
llvm-svn: 86956
2009-11-12 05:48:41 +00:00
Daniel Dunbar
0c6c930f05
Allow Preprocessor to take ownership of the HeaderSearch object. I think it should probably always own the header search object, but I'm not sure...
...
llvm-svn: 86882
2009-11-11 21:44:21 +00:00
Daniel Dunbar
4df9aa2388
Privatize InitHeaderSearch, this functionality is only exposed via
...
ApplyHeaderSearchOptions now.
llvm-svn: 86617
2009-11-09 23:02:47 +00:00
Daniel Dunbar
8ec8804de1
Switch clang-cc to use ApplyHeaderSearchOptions, and fix a thinko.
...
llvm-svn: 86341
2009-11-07 04:58:12 +00:00
Daniel Dunbar
08d5669b01
Add HeaderSearchOptions class, for packaging the information needed to
...
initialize HeaderSearch. Not used yet.
llvm-svn: 86338
2009-11-07 04:20:50 +00:00
Daniel Dunbar
ec87991c8f
Lift InitHeaderSearch::AddEnvVarPaths logic higher.
...
llvm-svn: 86337
2009-11-07 04:20:39 +00:00
Daniel Dunbar
6dc9638153
Formatting fixes.
...
llvm-svn: 86336
2009-11-07 04:20:25 +00:00
John Thompson
864bf7562f
Eliminate tabls
...
llvm-svn: 86183
2009-11-05 22:03:02 +00:00
Sebastian Redl
fec61e2111
Add Ubuntu 9.10 libstdc++ install location.
...
llvm-svn: 86142
2009-11-05 17:44:49 +00:00
Benjamin Kramer
305f9f8fed
Add C++ include paths for Exherbo. Patch by Daniel Mierswa!
...
llvm-svn: 85588
2009-10-30 12:57:13 +00:00
Rafael Espindola
177f1d979d
Split AddDefaultSystemIncludePaths into C, C++ and framework specific functions.
...
The user visible changes are:
*) Frameworks are only searched on OS X
*) The Cygwin c++ headers are now marked as c++ aware. I am almost
sure that not marking them was a bug.
llvm-svn: 85240
2009-10-27 14:47:31 +00:00
Nuno Lopes
24241d249e
add gentoo x86 2009.1 (gcc 4.3.4) include paths
...
llvm-svn: 84371
2009-10-17 23:11:14 +00:00
Daniel Dunbar
a80c07e8e6
Add Ubuntu 9.04 C++ search path.
...
llvm-svn: 84301
2009-10-17 03:19:56 +00:00
Edward O'Callaghan
d8712d9143
AuroraUX toolchain fixes.
...
llvm-svn: 84176
2009-10-15 07:44:07 +00:00
Rafael Espindola
0a1ac331a3
Add support for having different c++ search dirs with -m32 and -m64. So far
...
this is only used in darwin10, 64 bit ubuntu 9.10 and 64 bit openSUSE 11.1.
llvm-svn: 84115
2009-10-14 17:09:44 +00:00
John Thompson
4334ce6bda
Fixes pth.c on Windows.
...
llvm-svn: 84007
2009-10-13 18:51:32 +00:00
Mike Stump
b9a9a7c0ad
Fixup windows include paths. Patch by John Thompson.
...
llvm-svn: 83898
2009-10-12 20:50:45 +00:00
Edward O'Callaghan
e4ab8eacf7
Typo in AddGnuCPlusPlusIncludePaths.
...
llvm-svn: 83847
2009-10-12 12:02:47 +00:00
Mike Stump
1ba6edb030
Efficiency refinements.
...
llvm-svn: 83666
2009-10-09 20:16:49 +00:00
Mike Stump
e752333c66
Push all the way out to 80.
...
llvm-svn: 83664
2009-10-09 19:42:16 +00:00
Axel Naumann
04ca7e181f
Passing const Triple& is sufficient for AddDefaultSystemIncludePaths()
...
llvm-svn: 83663
2009-10-09 19:37:12 +00:00
Mike Stump
acdc3158b3
Add a refactor pointer...
...
llvm-svn: 83599
2009-10-08 23:57:53 +00:00
Mike Stump
904ad90bc8
Set up include paths for VC++ and Cygwin headers, along with the
...
existing MinGW headers, plus the newer 4.4.0 version. Patch by John
Thompson.
llvm-svn: 83594
2009-10-08 23:29:47 +00:00
Rafael Espindola
c3031a9643
Refactor the c++ include path a bit.
...
llvm-svn: 83357
2009-10-06 01:33:02 +00:00
Mike Stump
11289f4280
Remove tabs, and whitespace cleanups.
...
llvm-svn: 81346
2009-09-09 15:08:12 +00:00
Benjamin Kramer
26db6481c5
Replace some instances of std::string with StringRefs.
...
llvm-svn: 81079
2009-09-05 09:49:39 +00:00
Chris Lattner
3441b4f77e
API changes to match llvm ToT.
...
llvm-svn: 79868
2009-08-23 22:45:33 +00:00
Daniel Dunbar
58bc48c14e
Switch to SmallString::str from SmallString::c_str.
...
- Several FIXMEs due to non-Twinification of IRBuilder.
llvm-svn: 79455
2009-08-19 20:04:03 +00:00
Eli Friedman
2be79b3608
Add an additional C++ hardcoded search path.
...
llvm-svn: 79075
2009-08-15 03:45:14 +00:00
Chris Lattner
b57430d698
add support for opensuse 11.1/11.2 search paths, patch by Stefan Reinauer
...
and Carl-Daniel Hailfinger!
llvm-svn: 78368
2009-08-07 05:28:24 +00:00
Eli Friedman
881f9a89d1
Additional AuroraUX header path.
...
llvm-svn: 77811
2009-08-01 21:46:03 +00:00
Eli Friedman
2e6da95a60
Add temp C++ include path for AuroraUX; patch by Edward O'Callaghan.
...
llvm-svn: 77786
2009-08-01 17:10:21 +00:00
Nuno Lopes
0b797b1c9d
add gentoo 2009.0 g++ header locations
...
llvm-svn: 77158
2009-07-26 16:14:05 +00:00
Sebastian Redl
df718773f7
Add header search path for Gentoo stable, x86_64 version.
...
llvm-svn: 74626
2009-07-01 18:59:43 +00:00
Douglas Gregor
791505b5ea
Search path for 64-bit Ubuntu Linux, from Anders Johnsen
...
llvm-svn: 73637
2009-06-17 21:18:36 +00:00
Chris Lattner
c25d8a7e30
improve compatibility with GCC 4.4, patch by Michel Salim (PR3697)
...
llvm-svn: 65884
2009-03-02 22:20:04 +00:00
Daniel Dunbar
51adf5824e
Rename lib/Driver (etc) to lib/Frontend in prep for the *actual*
...
driver taking lib/Driver.
llvm-svn: 65811
2009-03-02 06:16:29 +00:00