summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitHeaderSearch.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
OpenPOWER on IntegriCloud