summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitHeaderSearch.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* now the FileManager has a FileSystemOpts ivar, stop threadingChris Lattner2010-11-231-3/+2
| | | | | | | | | 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. llvm-svn: 120010
* Add gcc-4.4.4 headers on Gentoo systems. Patch by Bertjan Broeksema!Nico Weber2010-11-161-0/+5
| | | | llvm-svn: 119348
* Remove an unintended restriction on sysroots introduced during the PathChandler Carruth2010-11-161-1/+1
| | | | | | conversion. llvm-svn: 119346
* Fix a think-o. Fixes PR8606.Chandler Carruth2010-11-151-0/+1
| | | | llvm-svn: 119139
* Clean up some names and fix the handling of default sysroots on Windows andChandler Carruth2010-11-151-9/+12
| | | | | | | | | | | 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. llvm-svn: 119131
* Switch the sysroot logic to use the Path interface, resolving a FIXME andChandler Carruth2010-11-151-10/+12
| | | | | | making the code less gross. llvm-svn: 119099
* Make sysroot only apply to baked in paths which start with a '/'.Chandler Carruth2010-11-151-10/+7
| | | | llvm-svn: 119095
* Implement -working-directory.Argyrios Kyrtzidis2010-11-031-2/+3
| | | | | | | | | | | | | | | | | | | 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. llvm-svn: 118203
* Add support for Fedora 14. Patch by Daniel Kozlowski.Rafael Espindola2010-11-021-0/+5
| | | | llvm-svn: 118035
* lib/Frontend/InitHeaderSearch.cpp: Fix compatibility to Cygming.NAKAMURA Takumi2010-10-111-8/+9
| | | | | | | | | | - 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. llvm-svn: 116182
* add latest gentoo gcc pathNuno Lopes2010-09-111-0/+4
| | | | llvm-svn: 113696
* Frontend: Add -cxx-system-include option which can be used to specify anDaniel Dunbar2010-09-091-2/+7
| | | | | | | explicit list for the C++ system include directories at the -cc1 level, as an alternative to the horrible AddDefaultCPlusPlusIncludePaths(). llvm-svn: 113505
* Fix indentation.Daniel Dunbar2010-09-091-30/+28
| | | | llvm-svn: 113504
* fix lookup of bits/c++config.h on mingw, patch by Ismail Donmez!Chris Lattner2010-09-031-0/+2
| | | | llvm-svn: 112969
* add a new version of mingw, patch by İsmail "cartman" DönmezChris Lattner2010-09-011-0/+4
| | | | | | in PR8049 llvm-svn: 112710
* Add NetBSD include search pathAnton Korobeynikov2010-08-311-0/+3
| | | | llvm-svn: 112663
* correct the -isystem option to not add the -isysroot path. Only the weirdChris Lattner2010-08-241-1/+1
| | | | | | -iwithsysroot flag should do that. This fixes rdar://8345942 llvm-svn: 111979
* Detabify.Eli Friedman2010-08-221-1/+1
| | | | llvm-svn: 111768
* Visual Studio tools used on win32 hosts when targeting win32.Michael J. Spencer2010-08-211-2/+12
| | | | llvm-svn: 111748
* Driver/OpenBSD: Update toolchain for compiler changes / C++; patch by JonathanDaniel Dunbar2010-08-011-0/+8
| | | | | | Gray. llvm-svn: 109994
* Remove emacs file mode marker on file with .cpp extension.Nick Lewycky2010-07-251-1/+1
| | | | llvm-svn: 109366
* Add header searching for llvm-gcc trunk on Gentoo AMD64. Patch by Mark Wood!Nick Lewycky2010-07-241-1/+6
| | | | llvm-svn: 109357
* add driver support for minix, patch by Kees van ReeuwijkChris Lattner2010-07-071-0/+4
| | | | | | from PR7583 llvm-svn: 107788
* Add Cygwin C++ header search path.Douglas Gregor2010-06-161-0/+2
| | | | llvm-svn: 106108
* Add ARM paths for debian. Not enough to bootstrap on a beagle board, butRafael Espindola2010-06-041-0/+2
| | | | | | moves us further. llvm-svn: 105468
* More PowerPC paths on DarwinDouglas Gregor2010-05-291-0/+3
| | | | llvm-svn: 105084
* Add C++ include paths for Darwin PowerPCDouglas Gregor2010-05-291-0/+7
| | | | llvm-svn: 105083
* add fedora 13 paths, patch by Hendrik Richter.Chris Lattner2010-05-291-0/+4
| | | | llvm-svn: 105082
* Frontend: Sprinkle in some C++ header paths for ARM/Darwin. Also, don't add x86Daniel Dunbar2010-05-281-4/+19
| | | | | | | | paths on non-x86. I really detest this file. llvm-svn: 104921
* "The attached patch allows clang to find the headersDouglas Gregor2010-05-181-9/+33
| | | | | | | for Visual Studio 2010. It also adds a registry search for the Express edition,", from Steven Watanabe! llvm-svn: 104015
* Moved clang-builtin include dir position to immediately precede C includes.mike-m2010-05-161-21/+22
| | | | | | This aligns with how gcc compiler does things. llvm-svn: 103912
* Reverted part of r103177 (repositioning of clang-builtin include/)mike-m2010-05-061-18/+20
| | | | | | which breaks clang-i686-xp-msvc9 test-clang. llvm-svn: 103180
* Reposition clang-builtin include/ to immediately precede /usr/include/,mike-m2010-05-061-64/+78
| | | | | | | | | | 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
* Test commit.mike-m2010-05-051-1/+1
| | | | llvm-svn: 103090
* fit in 80 colsChris Lattner2010-05-051-3/+6
| | | | llvm-svn: 103075
* add GNU C++ include paths for Fedora 11,12 x86_64,Chris Lattner2010-04-231-1/+13
| | | | | | patch by mikem! llvm-svn: 102177
* Fix -Wcast-qual warnings.Dan Gohman2010-04-191-1/+1
| | | | llvm-svn: 101786
* add haiku support, patch by Paul Davey!Chris Lattner2010-04-111-0/+43
| | | | llvm-svn: 100982
* Implement support for -nostdc++. Fixes PR6446.Douglas Gregor2010-03-241-4/+7
| | | | llvm-svn: 99417
* on both the mac and linux, /usr/local/include is treated Chris Lattner2010-03-061-1/+1
| | | | | | | as a "C++ Friendly" system header directory. This fixes PR6523. llvm-svn: 97885
* Remove the linux c includes part of my last patch.Eric Christopher2010-03-031-3/+0
| | | | llvm-svn: 97679
* Add in more c++ header paths for later gccs under gentoo linux.Eric Christopher2010-03-031-0/+14
| | | | | | | | Add in c header path for various linuxes as well. Partial patch from Christian Adåker! llvm-svn: 97666
* Debian sid moved these headers into /4.4 and left /4.4.3 as a symlink. Update.Nick Lewycky2010-02-271-1/+3
| | | | | | Also, add support for 32-bit x86 Debian sid. llvm-svn: 97347
OpenPOWER on IntegriCloud