aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/InitHeaderSearch.cpp
AgeCommit message (Collapse)Author
2010-09-09Frontend: Add -cxx-system-include option which can be used to specify anDaniel Dunbar
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
2010-09-09Fix indentation.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113504 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-03fix lookup of bits/c++config.h on mingw, patch by Ismail Donmez!Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112969 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-01add a new version of mingw, patch by İsmail "cartman" DönmezChris Lattner
in PR8049 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112710 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-31Add NetBSD include search pathAnton Korobeynikov
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112663 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-24correct the -isystem option to not add the -isysroot path. Only the weirdChris Lattner
-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
2010-08-22Detabify.Eli Friedman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111768 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-21Visual Studio tools used on win32 hosts when targeting win32.Michael J. Spencer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111748 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-01Driver/OpenBSD: Update toolchain for compiler changes / C++; patch by JonathanDaniel Dunbar
Gray. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109994 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-25Remove emacs file mode marker on file with .cpp extension.Nick Lewycky
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109366 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-24Add header searching for llvm-gcc trunk on Gentoo AMD64. Patch by Mark Wood!Nick Lewycky
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109357 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-07add driver support for minix, patch by Kees van ReeuwijkChris Lattner
from PR7583 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107788 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-16Add Cygwin C++ header search path.Douglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106108 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-04Add ARM paths for debian. Not enough to bootstrap on a beagle board, butRafael Espindola
moves us further. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105468 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-29More PowerPC paths on DarwinDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105084 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-29Add C++ include paths for Darwin PowerPCDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105083 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-29add fedora 13 paths, patch by Hendrik Richter.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105082 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-28Frontend: Sprinkle in some C++ header paths for ARM/Darwin. Also, don't add x86Daniel Dunbar
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
2010-05-18"The attached patch allows clang to find the headersDouglas Gregor
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
2010-05-16Moved clang-builtin include dir position to immediately precede C includes.mike-m
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
2010-05-06Reverted part of r103177 (repositioning of clang-builtin include/)mike-m
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
2010-05-06Reposition clang-builtin include/ to immediately precede /usr/include/,mike-m
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
2010-05-05Test commit.mike-m
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103090 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-05fit in 80 colsChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103075 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-23add GNU C++ include paths for Fedora 11,12 x86_64,Chris Lattner
patch by mikem! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102177 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-19Fix -Wcast-qual warnings.Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101786 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-11add haiku support, patch by Paul Davey!Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100982 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-24Implement support for -nostdc++. Fixes PR6446.Douglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99417 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06on both the mac and linux, /usr/local/include is treated Chris Lattner
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
2010-03-03Remove the linux c includes part of my last patch.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97679 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-03Add in more c++ header paths for later gccs under gentoo linux.Eric Christopher
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
2010-02-27Debian sid moved these headers into /4.4 and left /4.4.3 as a symlink. Update.Nick Lewycky
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
2010-02-13add support for t Fedora 12 (February 2010), patch byChris Lattner
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
2010-01-25Update C++ include paths for Exherbo, by Ingmar Vanhassel.Benjamin Kramer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94420 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-20Make some helper functions static.Benjamin Kramer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94004 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-20Don't store a Twine temporary, it's unsafe.Benjamin Kramer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94003 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-19add support for Fedora 10 x86_64, there really should be a better way to ↵Chris Lattner
handle this. patch by Dmitry git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93948 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-17PR6055: fix FreeBSD c++ include path. patch by Roman DivackyNuno Lopes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93668 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-09improve support for dragonfly, patch by Sascha Wildner!Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93044 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-18Debian has x86_64-linux-gnu, not x86_64-pc-linux-gnu, so add it.Torok Edwin
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91698 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-18Move the 4.4.2 c++ include search to the top, otherwise it was picking the 4.1.3Torok Edwin
dirs on my system. Which is wrong, since it was missing the x86_64-pc-linux-gnu suffix. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91694 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-15Add -resource-dir to clang -cc1, this allows the base directory for compilerDaniel Dunbar
resources (e.g., /usr/lib/clang/1.1) to be passed on the command line instead of computed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91370 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-13CompilerInvocation: Move builtin-include-path logic out of ↵Daniel Dunbar
CompilerInvocation::CreateFromArgs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91237 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-08Twinify InitHeaderSearch::AddPath and use it in C++ include path generation.Benjamin Kramer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90853 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-08Use StringRefs in InitHeaderSearch::AddDelimitedPaths.Benjamin Kramer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90852 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-07add fedora 12 include pathNuno Lopes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90772 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-03Kill a few more random stderr uses.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90441 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-23Put back hard-coded paths for win32 until I figure out what happened to ↵John Thompson
failed tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89677 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-23Reorder the header search a bit so that it matches gcc exactly:Rafael Espindola
*) the ../backward dir is the last in libstdc++ to be searched *) If compiling c++, the c++ headers are searched first git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89661 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-21Revised Win32 include path to search highest version in registry, plus ↵John Thompson
platform SDK path git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89517 91177308-0d34-0410-b5e6-96231b3b80d8