summaryrefslogtreecommitdiff
path: root/lib/Frontend/InitHeaderSearch.cpp
Commit message (Collapse)AuthorAge
...
* Add GCC 4.4.5 for Gentoo, and order them in a more sensible way. This allowsChandler Carruth2010-11-28
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120238 91177308-0d34-0410-b5e6-96231b3b80d8
* Add C++ header path for openSUSE 11.4.Rafael Espindola2010-11-25
| | | | | | Patch by İsmail Dönmez. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120154 91177308-0d34-0410-b5e6-96231b3b80d8
* now the FileManager has a FileSystemOpts ivar, stop threadingChris Lattner2010-11-23
| | | | | | | | | | FileSystemOpts through a ton of apis, simplifying a lot of code. This also fixes a latent bug in ASTUnit where it would invoke methods on FileManager without creating one in some code paths in cindextext. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120010 91177308-0d34-0410-b5e6-96231b3b80d8
* Add gcc-4.4.4 headers on Gentoo systems. Patch by Bertjan Broeksema!Nico Weber2010-11-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119348 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove an unintended restriction on sysroots introduced during the PathChandler Carruth2010-11-16
| | | | | | | conversion. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119346 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a think-o. Fixes PR8606.Chandler Carruth2010-11-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119139 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up some names and fix the handling of default sysroots on Windows andChandler Carruth2010-11-15
| | | | | | | | | | | | other platforms where the textual default of '/' isn't the system's root directory. We should probably still make the textual default platform specific, but this should avoid the particularly bad problem with the previous state: we applied a sysroot of '/' to '/usr/local/google' which added '//usr/local/include' to the windows header search path, a share on another machine named 'usr'. Oops. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119131 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch the sysroot logic to use the Path interface, resolving a FIXME andChandler Carruth2010-11-15
| | | | | | | making the code less gross. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119099 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sysroot only apply to baked in paths which start with a '/'.Chandler Carruth2010-11-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119095 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement -working-directory.Argyrios Kyrtzidis2010-11-03
| | | | | | | | | | | | | | | | | | | When -working-directory is passed in command line, file paths are resolved relative to the specified directory. This helps both when using libclang (where we can't require the user to actually change the working directory) and to help reproduce test cases when the reproduction work comes along. --FileSystemOptions is introduced which controls how file system operations are performed (currently it just contains the working directory value if set). --FileSystemOptions are passed around to various interfaces that perform file operations. --Opening & reading the content of files should be done only through FileManager. This is useful in general since file operations will be abstracted in the future for the reproduction mechanism. FileSystemOptions is independent of FileManager so that we can have multiple translation units sharing the same FileManager but with different FileSystemOptions. Addresses rdar://8583824. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118203 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for Fedora 14. Patch by Daniel Kozlowski.Rafael Espindola2010-11-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118035 91177308-0d34-0410-b5e6-96231b3b80d8
* lib/Frontend/InitHeaderSearch.cpp: Fix compatibility to Cygming.NAKAMURA Takumi2010-10-11
| | | | | | | | | | | - lib/gcc/include should not be included. Clang oughta have alternatives. (PR7956) - Cygwin: /usr/include/w32api should be included. gcc/cygwin does. - gcc/cygwin uses gcc paths as /usr/lib not /lib. They are same on Cygwin environment, though, We have to take what gcc/cygwin does. - Cygwin-1.7: Use 4.3.4. - Cygwin-1.5: Use 4.3.2 for gcc-4. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116182 91177308-0d34-0410-b5e6-96231b3b80d8
* add latest gentoo gcc pathNuno Lopes2010-09-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113696 91177308-0d34-0410-b5e6-96231b3b80d8
* Frontend: Add -cxx-system-include option which can be used to specify anDaniel Dunbar2010-09-09
| | | | | | | explicit list for the C++ system include directories at the -cc1 level, as an alternative to the horrible AddDefaultCPlusPlusIncludePaths(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113505 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix indentation.Daniel Dunbar2010-09-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113504 91177308-0d34-0410-b5e6-96231b3b80d8
* fix lookup of bits/c++config.h on mingw, patch by Ismail Donmez!Chris Lattner2010-09-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112969 91177308-0d34-0410-b5e6-96231b3b80d8
* add a new version of mingw, patch by İsmail "cartman" DönmezChris Lattner2010-09-01
| | | | | | | in PR8049 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112710 91177308-0d34-0410-b5e6-96231b3b80d8
* Add NetBSD include search pathAnton Korobeynikov2010-08-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112663 91177308-0d34-0410-b5e6-96231b3b80d8
* correct the -isystem option to not add the -isysroot path. Only the weirdChris Lattner2010-08-24
| | | | | | | -iwithsysroot flag should do that. This fixes rdar://8345942 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111979 91177308-0d34-0410-b5e6-96231b3b80d8
* Detabify.Eli Friedman2010-08-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111768 91177308-0d34-0410-b5e6-96231b3b80d8
* Visual Studio tools used on win32 hosts when targeting win32.Michael J. Spencer2010-08-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111748 91177308-0d34-0410-b5e6-96231b3b80d8
* Driver/OpenBSD: Update toolchain for compiler changes / C++; patch by JonathanDaniel Dunbar2010-08-01
| | | | | | Gray. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109994 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove emacs file mode marker on file with .cpp extension.Nick Lewycky2010-07-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109366 91177308-0d34-0410-b5e6-96231b3b80d8
* Add header searching for llvm-gcc trunk on Gentoo AMD64. Patch by Mark Wood!Nick Lewycky2010-07-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109357 91177308-0d34-0410-b5e6-96231b3b80d8
* add driver support for minix, patch by Kees van ReeuwijkChris Lattner2010-07-07
| | | | | | | from PR7583 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107788 91177308-0d34-0410-b5e6-96231b3b80d8
* Add Cygwin C++ header search path.Douglas Gregor2010-06-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106108 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ARM paths for debian. Not enough to bootstrap on a beagle board, butRafael Espindola2010-06-04
| | | | | | moves us further. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105468 91177308-0d34-0410-b5e6-96231b3b80d8
* More PowerPC paths on DarwinDouglas Gregor2010-05-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105084 91177308-0d34-0410-b5e6-96231b3b80d8
* Add C++ include paths for Darwin PowerPCDouglas Gregor2010-05-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105083 91177308-0d34-0410-b5e6-96231b3b80d8
* add fedora 13 paths, patch by Hendrik Richter.Chris Lattner2010-05-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105082 91177308-0d34-0410-b5e6-96231b3b80d8
* Frontend: Sprinkle in some C++ header paths for ARM/Darwin. Also, don't add x86Daniel Dunbar2010-05-28
| | | | | | | | paths on non-x86. I really detest this file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104921 91177308-0d34-0410-b5e6-96231b3b80d8
* "The attached patch allows clang to find the headersDouglas Gregor2010-05-18
| | | | | | | | for Visual Studio 2010. It also adds a registry search for the Express edition,", from Steven Watanabe! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104015 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved clang-builtin include dir position to immediately precede C includes.mike-m2010-05-16
| | | | | | | This aligns with how gcc compiler does things. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103912 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverted part of r103177 (repositioning of clang-builtin include/)mike-m2010-05-06
| | | | | | | which breaks clang-i686-xp-msvc9 test-clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103180 91177308-0d34-0410-b5e6-96231b3b80d8
* Reposition clang-builtin include/ to immediately precede /usr/include/,mike-m2010-05-06
| | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103177 91177308-0d34-0410-b5e6-96231b3b80d8
* Test commit.mike-m2010-05-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103090 91177308-0d34-0410-b5e6-96231b3b80d8
* fit in 80 colsChris Lattner2010-05-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103075 91177308-0d34-0410-b5e6-96231b3b80d8
* add GNU C++ include paths for Fedora 11,12 x86_64,Chris Lattner2010-04-23
| | | | | | | patch by mikem! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102177 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix -Wcast-qual warnings.Dan Gohman2010-04-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101786 91177308-0d34-0410-b5e6-96231b3b80d8
* add haiku support, patch by Paul Davey!Chris Lattner2010-04-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100982 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement support for -nostdc++. Fixes PR6446.Douglas Gregor2010-03-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99417 91177308-0d34-0410-b5e6-96231b3b80d8
* on both the mac and linux, /usr/local/include is treated Chris Lattner2010-03-06
| | | | | | | | as a "C++ Friendly" system header directory. This fixes PR6523. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97885 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the linux c includes part of my last patch.Eric Christopher2010-03-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97679 91177308-0d34-0410-b5e6-96231b3b80d8
* Add in more c++ header paths for later gccs under gentoo linux.Eric Christopher2010-03-03
| | | | | | | | | Add in c header path for various linuxes as well. Partial patch from Christian Adåker! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97666 91177308-0d34-0410-b5e6-96231b3b80d8
* Debian sid moved these headers into /4.4 and left /4.4.3 as a symlink. Update.Nick Lewycky2010-02-27
| | | | | | | Also, add support for 32-bit x86 Debian sid. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97347 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for t Fedora 12 (February 2010), patch byChris Lattner2010-02-13
| | | | | | | Dyachenko Dmitry. Our system is "not so elegant" here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96111 91177308-0d34-0410-b5e6-96231b3b80d8
* Update C++ include paths for Exherbo, by Ingmar Vanhassel.Benjamin Kramer2010-01-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94420 91177308-0d34-0410-b5e6-96231b3b80d8
* Make some helper functions static.Benjamin Kramer2010-01-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94004 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't store a Twine temporary, it's unsafe.Benjamin Kramer2010-01-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94003 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for Fedora 10 x86_64, there really should be a better way to ↵Chris Lattner2010-01-19
| | | | | | | | | handle this. patch by Dmitry git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93948 91177308-0d34-0410-b5e6-96231b3b80d8