Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | now the FileManager has a FileSystemOpts ivar, stop threading | Chris Lattner | 2010-11-23 | 1 | -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 Weber | 2010-11-16 | 1 | -0/+5 | |
| | | | | llvm-svn: 119348 | |||||
* | Remove an unintended restriction on sysroots introduced during the Path | Chandler Carruth | 2010-11-16 | 1 | -1/+1 | |
| | | | | | | conversion. llvm-svn: 119346 | |||||
* | Fix a think-o. Fixes PR8606. | Chandler Carruth | 2010-11-15 | 1 | -0/+1 | |
| | | | | llvm-svn: 119139 | |||||
* | Clean up some names and fix the handling of default sysroots on Windows and | Chandler Carruth | 2010-11-15 | 1 | -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 and | Chandler Carruth | 2010-11-15 | 1 | -10/+12 | |
| | | | | | | making the code less gross. llvm-svn: 119099 | |||||
* | Make sysroot only apply to baked in paths which start with a '/'. | Chandler Carruth | 2010-11-15 | 1 | -10/+7 | |
| | | | | llvm-svn: 119095 | |||||
* | Implement -working-directory. | Argyrios Kyrtzidis | 2010-11-03 | 1 | -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 Espindola | 2010-11-02 | 1 | -0/+5 | |
| | | | | llvm-svn: 118035 | |||||
* | lib/Frontend/InitHeaderSearch.cpp: Fix compatibility to Cygming. | NAKAMURA Takumi | 2010-10-11 | 1 | -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 path | Nuno Lopes | 2010-09-11 | 1 | -0/+4 | |
| | | | | llvm-svn: 113696 | |||||
* | Frontend: Add -cxx-system-include option which can be used to specify an | Daniel Dunbar | 2010-09-09 | 1 | -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 Dunbar | 2010-09-09 | 1 | -30/+28 | |
| | | | | llvm-svn: 113504 | |||||
* | fix lookup of bits/c++config.h on mingw, patch by Ismail Donmez! | Chris Lattner | 2010-09-03 | 1 | -0/+2 | |
| | | | | llvm-svn: 112969 | |||||
* | add a new version of mingw, patch by İsmail "cartman" Dönmez | Chris Lattner | 2010-09-01 | 1 | -0/+4 | |
| | | | | | | in PR8049 llvm-svn: 112710 | |||||
* | Add NetBSD include search path | Anton Korobeynikov | 2010-08-31 | 1 | -0/+3 | |
| | | | | llvm-svn: 112663 | |||||
* | correct the -isystem option to not add the -isysroot path. Only the weird | Chris Lattner | 2010-08-24 | 1 | -1/+1 | |
| | | | | | | -iwithsysroot flag should do that. This fixes rdar://8345942 llvm-svn: 111979 | |||||
* | Detabify. | Eli Friedman | 2010-08-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 111768 | |||||
* | Visual Studio tools used on win32 hosts when targeting win32. | Michael J. Spencer | 2010-08-21 | 1 | -2/+12 | |
| | | | | llvm-svn: 111748 | |||||
* | Driver/OpenBSD: Update toolchain for compiler changes / C++; patch by Jonathan | Daniel Dunbar | 2010-08-01 | 1 | -0/+8 | |
| | | | | | | Gray. llvm-svn: 109994 | |||||
* | Remove emacs file mode marker on file with .cpp extension. | Nick Lewycky | 2010-07-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 109366 | |||||
* | Add header searching for llvm-gcc trunk on Gentoo AMD64. Patch by Mark Wood! | Nick Lewycky | 2010-07-24 | 1 | -1/+6 | |
| | | | | llvm-svn: 109357 | |||||
* | add driver support for minix, patch by Kees van Reeuwijk | Chris Lattner | 2010-07-07 | 1 | -0/+4 | |
| | | | | | | from PR7583 llvm-svn: 107788 | |||||
* | Add Cygwin C++ header search path. | Douglas Gregor | 2010-06-16 | 1 | -0/+2 | |
| | | | | llvm-svn: 106108 | |||||
* | Add ARM paths for debian. Not enough to bootstrap on a beagle board, but | Rafael Espindola | 2010-06-04 | 1 | -0/+2 | |
| | | | | | | moves us further. llvm-svn: 105468 | |||||
* | More PowerPC paths on Darwin | Douglas Gregor | 2010-05-29 | 1 | -0/+3 | |
| | | | | llvm-svn: 105084 | |||||
* | Add C++ include paths for Darwin PowerPC | Douglas Gregor | 2010-05-29 | 1 | -0/+7 | |
| | | | | llvm-svn: 105083 | |||||
* | add fedora 13 paths, patch by Hendrik Richter. | Chris Lattner | 2010-05-29 | 1 | -0/+4 | |
| | | | | llvm-svn: 105082 | |||||
* | Frontend: Sprinkle in some C++ header paths for ARM/Darwin. Also, don't add x86 | Daniel Dunbar | 2010-05-28 | 1 | -4/+19 | |
| | | | | | | | | paths on non-x86. I really detest this file. llvm-svn: 104921 | |||||
* | "The attached patch allows clang to find the headers | Douglas Gregor | 2010-05-18 | 1 | -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-m | 2010-05-16 | 1 | -21/+22 | |
| | | | | | | This aligns with how gcc compiler does things. llvm-svn: 103912 | |||||
* | Reverted part of r103177 (repositioning of clang-builtin include/) | mike-m | 2010-05-06 | 1 | -18/+20 | |
| | | | | | | which breaks clang-i686-xp-msvc9 test-clang. llvm-svn: 103180 | |||||
* | Reposition clang-builtin include/ to immediately precede /usr/include/, | mike-m | 2010-05-06 | 1 | -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-m | 2010-05-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 103090 | |||||
* | fit in 80 cols | Chris Lattner | 2010-05-05 | 1 | -3/+6 | |
| | | | | llvm-svn: 103075 | |||||
* | add GNU C++ include paths for Fedora 11,12 x86_64, | Chris Lattner | 2010-04-23 | 1 | -1/+13 | |
| | | | | | | patch by mikem! llvm-svn: 102177 | |||||
* | Fix -Wcast-qual warnings. | Dan Gohman | 2010-04-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 101786 | |||||
* | add haiku support, patch by Paul Davey! | Chris Lattner | 2010-04-11 | 1 | -0/+43 | |
| | | | | llvm-svn: 100982 | |||||
* | Implement support for -nostdc++. Fixes PR6446. | Douglas Gregor | 2010-03-24 | 1 | -4/+7 | |
| | | | | llvm-svn: 99417 | |||||
* | on both the mac and linux, /usr/local/include is treated | Chris Lattner | 2010-03-06 | 1 | -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 Christopher | 2010-03-03 | 1 | -3/+0 | |
| | | | | llvm-svn: 97679 | |||||
* | Add in more c++ header paths for later gccs under gentoo linux. | Eric Christopher | 2010-03-03 | 1 | -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 Lewycky | 2010-02-27 | 1 | -1/+3 | |
| | | | | | | Also, add support for 32-bit x86 Debian sid. llvm-svn: 97347 | |||||
* | add support for t Fedora 12 (February 2010), patch by | Chris Lattner | 2010-02-13 | 1 | -0/+4 | |
| | | | | | | Dyachenko Dmitry. Our system is "not so elegant" here. llvm-svn: 96111 | |||||
* | Update C++ include paths for Exherbo, by Ingmar Vanhassel. | Benjamin Kramer | 2010-01-25 | 1 | -3/+3 | |
| | | | | llvm-svn: 94420 | |||||
* | Make some helper functions static. | Benjamin Kramer | 2010-01-20 | 1 | -5/+5 | |
| | | | | llvm-svn: 94004 | |||||
* | Don't store a Twine temporary, it's unsafe. | Benjamin Kramer | 2010-01-20 | 1 | -4/+6 | |
| | | | | llvm-svn: 94003 | |||||
* | add support for Fedora 10 x86_64, there really should be a better way to ↵ | Chris Lattner | 2010-01-19 | 1 | -0/+4 | |
| | | | | | | | | handle this. patch by Dmitry llvm-svn: 93948 | |||||
* | PR6055: fix FreeBSD c++ include path. patch by Roman Divacky | Nuno Lopes | 2010-01-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 93668 | |||||
* | improve support for dragonfly, patch by Sascha Wildner! | Chris Lattner | 2010-01-09 | 1 | -3/+3 | |
| | | | | llvm-svn: 93044 |