summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitHeaderSearch.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* For modules, use a hash of the compiler version, language options, andDouglas Gregor2011-09-131-2/+0
| | | | | | | | | target triple to separate modules built under different conditions. The hash is used to create a subdirectory in the module cache path where other invocations of the compiler (with the same version, language options, etc.) can find the precompiled modules. llvm-svn: 139662
* Introduce a cc1-level option to provide the path to the module cache,Douglas Gregor2011-09-121-0/+2
| | | | | | | | where the compiler will look for module files. Eliminates the egregious hack where we looked into the header search paths for modules. llvm-svn: 139538
* Some minor updates to the Linux search path handling for Slackware. Patch ↵Eli Friedman2011-08-291-0/+11
| | | | | | by Will Dietz. PR10692. llvm-svn: 138753
* Add Gentoo gcc 4.3.4 include pathsNico Weber2011-08-171-0/+4
| | | | llvm-svn: 137834
* On Darwin, libc++ may be installed alongside the compiler inDouglas Gregor2011-07-291-1/+17
| | | | | | | lib/c++/v1. Look there first, before falling back to the normal /usr/include/c++/v1. <rdar://problem/9866149> llvm-svn: 136507
* Introduce the "-index-header-map" option, to give special semanticsDouglas Gregor2011-07-281-3/+3
| | | | | | | for quoted header lookup when dealing with not-yet-installed frameworks. Fixes <rdar://problem/9824020>. llvm-svn: 136331
* remove unneeded llvm:: namespace qualifiers on some core types now that ↵Chris Lattner2011-07-231-31/+31
| | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852
* Do not modify string returned by getenv on Windows. Francois Pichet2011-07-161-4/+2
| | | | | | Fixes PR9875, patch by Nikola Smiljanic! llvm-svn: 135356
* Update header-search paths for MinGW, from Ruben Van BoxemDouglas Gregor2011-07-051-0/+2
| | | | llvm-svn: 134406
* Make the GCC version proliferation worse by N+1 for the sake ofChandler Carruth2011-07-021-0/+4
| | | | | | ArchLinux. =/ Fixes PR10246. llvm-svn: 134299
* Add initial *-*-rtems* target, from Joel SherrillDouglas Gregor2011-07-011-1/+4
| | | | llvm-svn: 134283
* Improve header search for MinGW(-w64), from Ruben Van Boxem!Douglas Gregor2011-06-271-27/+39
| | | | llvm-svn: 133911
* Make InitHeaderSearch::AddPath and HeaderSearchOptions::AddPath consistentBob Wilson2011-06-211-1/+1
| | | | | | | | use an "IgnoreSysRoot" argument. HeaderSearchOptions had been using the opposite form with "IsSysRootRelative", which made for much confusion when looking at true/false values in calls in AddPath. No functional change. llvm-svn: 133550
* Fix the default libc++ header search path to be sysrooted. Radar 9639692.Bob Wilson2011-06-211-2/+6
| | | | | | | | | The -cxx-isystem path is not prefixed with the sysroot directory, so it's not a good way for the driver to set the system default C++ search path. Instead, add -stdlib as a cc1 option and teach the frontend how to find the headers. The driver can then just pass -stdlib through to "cc1". llvm-svn: 133547
* Fix a regression introduced by r131955 which broke #include_next in subtle ↵Chris Lattner2011-06-161-1/+4
| | | | | | | | | situations because the Angled directories and the System directories were not being uniqued together, breaking #include_next. I'll see about a testcase, but it will be insane. llvm-svn: 133212
* code cleanups, no behavior change.Chris Lattner2011-06-161-64/+64
| | | | llvm-svn: 133211
* Be aware of (x86_64-redhat-linux6E-)g++44 on RHEL5.NAKAMURA Takumi2011-06-161-0/+3
| | | | | | | AFAIK, RHEL5 (and its clones) provides g++44 as the package "gcc44-c++". By default, g++-4.1.1 is available, though, its libstdc++ would not be suitable to clang++. llvm-svn: 133156
* Separate out these paths a bit by architecture. There are likely otherEric Christopher2011-06-031-2/+3
| | | | | | places this is a problem. llvm-svn: 132542
* Add multi-arch include support for Ubuntu 11.11 with gcc 4.6.0.Eric Christopher2011-06-031-0/+23
| | | | | | | | Patch by Tobias Hunger! Fixes PR10008 llvm-svn: 132541
* Make it possible for external tools to distinguish between paths that come ↵Nico Weber2011-05-241-2/+4
| | | | | | from -I and paths that come from -system. Patch from Paul Holden! llvm-svn: 131955
* Add paths used by openSuSE 12.1David Chisnall2011-05-191-0/+5
| | | | | | Patch by Ismail Dönmez! llvm-svn: 131636
* Add some support for RHEL5 systems.Eric Christopher2011-05-171-0/+7
| | | | llvm-svn: 131505
* Add C++ include paths for libstdc++ with Ubuntu 11.04 and Debian's ↵Axel Naumann2011-05-041-0/+10
| | | | | | | | libstdc++6-4.5, as collected from http://packages.ubuntu.com/search?mode=exactfilename&suite=natty&section=all&arch=any&searchon=contents&keywords=c%2B%2Blocale.h and http://packages.debian.org/wheezy/armel/libstdc++6-4.5-dev/filelist Fixes compilation with clang++ on Ubuntu 11.04. llvm-svn: 130837
* lib/Frontend/InitHeaderSearch.cpp: Tweak AddPath() to accept "/foo/bar" (not ↵NAKAMURA Takumi2011-05-021-0/+5
| | | | | | | "X:\foo\bar") with -isysroot. test/PCH/reloc.c can pass. FIXME: We should consider better isysroot scheme on Win32 hosts. llvm-svn: 130683
* Add libstdc++ search paths for GCC 4.6.0 on Arch Linux. Patch by Jakub ↵Nico Weber2011-04-251-0/+7
| | | | | | Wieczorek. llvm-svn: 130152
* ADT/Triple: Switch to using .isOSDarwin() predicate.Daniel Dunbar2011-04-191-28/+31
| | | | llvm-svn: 129823
* Add support for Fedora16, gcc 4.6.0 and Fedora Rawhide.Eric Christopher2011-04-061-0/+5
| | | | | | Patch by Bobby Powers llvm-svn: 129014
* lib/Frontend/InitHeaderSearch.cpp: Introduce AddMinGW64CXXPaths(Base) for ↵NAKAMURA Takumi2011-03-151-12/+24
| | | | | | x86_64-w64-mingw32. llvm-svn: 127652
* Add include paths for Gentoo Linux, from Marcin Mirosław!Douglas Gregor2011-03-141-2/+22
| | | | llvm-svn: 127582
* Add MinGW GCC 4.5.2 include paths, from Matthieu MonrocqDouglas Gregor2011-03-061-0/+3
| | | | llvm-svn: 127124
* Apply sysroot to system c++ headers too. Fixes PR9372.Rafael Espindola2011-03-021-1/+1
| | | | llvm-svn: 126884
* On FreeBSD, make sure /usr/local/include is *not* in the default includeRoman Divacky2011-03-011-0/+1
| | | | | | | | path. This avoids accidentally including the wrong headers. Patch by Dimitry Andric! llvm-svn: 126761
* Remove the storage for -cxx-system-include. Make libcxx toolchainJoerg Sonnenberger2011-02-221-7/+2
| | | | | | use -nostdinc++ and -cxx-isystem. llvm-svn: 126223
* Bug#8945: Add -cxx-isystem option to specify C++ system directories.Joerg Sonnenberger2011-02-221-38/+62
| | | | | | | | | It works like -isystem and the search path keeps -isystem and -cxx-isystem in order relative to each other. -cxx-isystem is only used for C++ sources though. Drop the existing -cxx-system-include option for cc1 as it is now redundant. llvm-svn: 126167
* lib/Frontend/InitHeaderSearch.cpp: Add mingw-w64's include paths.NAKAMURA Takumi2011-02-171-0/+8
| | | | llvm-svn: 125743
* Triple::MinGW64 is deprecated and removed. We can use Triple::MinGW32 instead.NAKAMURA Takumi2011-02-171-9/+0
| | | | | | No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32. llvm-svn: 125742
* Fix whitespace.NAKAMURA Takumi2011-02-171-15/+15
| | | | llvm-svn: 125741
* Fix the distro name.Rafael Espindola2011-02-151-1/+1
| | | | llvm-svn: 125601
* Fix include paths on 32 bit ubuntu 10.10.Rafael Espindola2011-02-151-0/+5
| | | | | | Original patch by Jonas Bülow. llvm-svn: 125597
* InitHeaderSearch.cpp: [PR8298] Don't touch drive G: on Windows hosts!NAKAMURA Takumi2011-02-111-6/+0
| | | | llvm-svn: 125364
* Moved here from LLVM Clang's configuration options and related macros.Oscar Fuentes2011-02-031-0/+4
| | | | llvm-svn: 124825
* Add NetBSD target support. Patch by Joerg Sonnenberger.Benjamin Kramer2011-02-021-3/+11
| | | | llvm-svn: 124736
* Add updated Debian ARM include path.Nick Lewycky2011-02-011-0/+2
| | | | llvm-svn: 124684
* Remove all uses of PathV1::GetRootDirectory.Michael J. Spencer2010-12-251-7/+6
| | | | llvm-svn: 122552
* Fix spelling.Michael J. Spencer2010-12-211-1/+1
| | | | llvm-svn: 122339
* Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}.Michael J. Spencer2010-12-171-2/+2
| | | | llvm-svn: 122087
* Don't check the isysroot path for Path::isValid(); if the user hasDan Gohman2010-12-011-1/+0
| | | | | | | specified a syntactically invalid path, it's better to let the OS diagnose the problem than to silently skip it. llvm-svn: 120542
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120297
* Add GCC 4.4.5 for Gentoo, and order them in a more sensible way. This allowsChandler Carruth2010-11-281-13/+15
| | | | | | | | Gentoo systems with multiple versions to pick up the newest one first. This is especially important with Gentoo because some of the older versions are left on systems in strange states. llvm-svn: 120238
* Add C++ header path for openSUSE 11.4.Rafael Espindola2010-11-251-0/+7
| | | | | | Patch by İsmail Dönmez. llvm-svn: 120154
OpenPOWER on IntegriCloud