summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/InitHeaderSearch.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename lib/Driver (etc) to lib/Frontend in prep for the *actual*Daniel Dunbar2009-03-021-326/+0
| | | | | | driver taking lib/Driver. llvm-svn: 65811
* add c++ search path for GCC 4.2, PR3668, patch by Pawel Worach!Chris Lattner2009-02-251-1/+3
| | | | llvm-svn: 65462
* fix a bug introduced in my previous patch: moving clang headers to theChris Lattner2009-02-191-2/+2
| | | | | | | | "after" group instead of the system group makes it so #include <limits.h> picks up the *system* limits.h file before clang's. This causes a failure on linux and is definitely not what we want. llvm-svn: 65026
* PR3614: "ignoring nonexistent directory" should print the -isysroot Chris Lattner2009-02-191-2/+2
| | | | | | mapped path, not the requested path. llvm-svn: 65009
* stop searching GCC install directories for standard C headers (butChris Lattner2009-02-181-79/+6
| | | | | | | | | keep searching for C++ headers when in C++ mode). In theory clang should be able to find all of its own headers now. If not, the CPATH or C_INCLUDE_PATH environment variables can be specified to add a include path. llvm-svn: 64862
* use some references to simplify code.Chris Lattner2009-02-081-19/+20
| | | | llvm-svn: 64063
* Genericize the existing logic for removing duplicate header dirs to applyChris Lattner2009-02-081-38/+47
| | | | | | | | | | | | | | | | | | | | | | | | the "system dirs win over user dirs" logic to framework and headermap search locations as well as normal directories. This means that clang t.m -F/System/Library/Frameworks will treat /System/Library/Frameworks as a system directory not a user directory. If you use -v, the difference is: Before: ignoring nonexistent directory "/usr/libdata/gcc41" ignoring duplicate framework "/System/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: After: ignoring nonexistent directory "/usr/libdata/gcc41" ignoring duplicate directory "/System/Library/Frameworks" as it is a non-system directory that duplicates a system directory #include "..." search starts here: #include <...> search starts here: This fixes rdar://6566429. llvm-svn: 64060
* Add Debian gcc 4.3 header search directories.Torok Edwin2009-02-051-0/+6
| | | | llvm-svn: 63872
* Add Fedora 10 GCC paths.Zhongxing Xu2008-12-251-0/+10
| | | | llvm-svn: 61429
* add missing gentoo c++ include pathsNuno Lopes2008-12-071-0/+9
| | | | llvm-svn: 60655
* Rename Characteristic_t to CharacteristicKindChris Lattner2008-10-271-1/+1
| | | | llvm-svn: 58224
* Bug fix, CPATH="" does not add '.' to search path.Daniel Dunbar2008-10-041-1/+1
| | | | llvm-svn: 57072
* clean up a bunch of fixme's I added, by moving Chris Lattner2008-09-261-10/+6
| | | | | | DirectoryLookup::DirType into SourceManager.h llvm-svn: 56692
* emulate a bit of GCC path lookup weirdness: if a system Chris Lattner2008-09-261-6/+37
| | | | | | | | | | | | | | | | | | | | | | | directory is shadowed by a user directory in the lookup path, ignore the user directory not the system one. Not doing this can affect file lookup and the "is a system header" bit on locations. For example: clang -v -I/usr/include inc.c -E | & grep /usr/inc now prints: # 1 "/usr/include/i386/_types.h" 1 3 4 # 37 "/usr/include/i386/_types.h" 3 4 # 70 "/usr/include/i386/_types.h" 3 4 instead of: # 1 "/usr/include/i386/_types.h" 1 # 37 "/usr/include/i386/_types.h" # 70 "/usr/include/i386/_types.h" This is part of rdar://6243860. llvm-svn: 56669
* Set different header search paths for the Windows platform.Argyrios Kyrtzidis2008-09-051-9/+17
| | | | llvm-svn: 55832
* Add header search paths for Mingw32 (GCC version 4).Argyrios Kyrtzidis2008-09-051-0/+9
| | | | llvm-svn: 55830
* Add header search paths for dragonfly, patch by Sascha Wildner!Chris Lattner2008-08-231-0/+6
| | | | llvm-svn: 55242
* Move most of HeaderSearch initialization to libDriver.Nico Weber2008-08-221-0/+312
For example, adding the default system include paths in clients is now as simple as InitHeaderSearch init(headers); init.AddDefaultSystemIncludePaths(langopts); init.Realize(); llvm-svn: 55174
OpenPOWER on IntegriCloud