Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | When an included non-system directory duplicates a system directory the clang | Chad Rosier | 2011-10-10 | 1 | -4/+10 | |
| | | | | | | | | frontend removes the non-system directory to maintain gcc compatibility. When this happens NumAngled needs to be updated. PR11097 llvm-svn: 141565 | |||||
* | Fix include path detection on Fedora 15 with GCC 4.6.1. Patch by Arthur Haas. | Justin Holewinski | 2011-10-04 | 1 | -1/+6 | |
| | | | | llvm-svn: 141086 | |||||
* | Reenable -cxx-isystem for Objective C++, until I come up with a better solution | Benjamin Kramer | 2011-09-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 140365 | |||||
* | Add support for CPATH and friends. | Benjamin Kramer | 2011-09-22 | 1 | -36/+5 | |
| | | | | | | | | | | | | This moves the existing code for CPATH into the driver and adds the environment lookup and path splitting there. The paths are then passed down to cc1 with -I options (CPATH), added after the normal user-specified include dirs. Language specific paths are passed via -LANG-isystem and the actual filtering is performed in the frontend. I tried to match GCC's behavior as close as possible Fixes PR8971. llvm-svn: 140341 | |||||
* | For modules, use a hash of the compiler version, language options, and | Douglas Gregor | 2011-09-13 | 1 | -2/+0 | |
| | | | | | | | | | target triple to separate modules built under different conditions. The hash is used to create a subdirectory in the module cache path where other invocations of the compiler (with the same version, language options, etc.) can find the precompiled modules. llvm-svn: 139662 | |||||
* | Introduce a cc1-level option to provide the path to the module cache, | Douglas Gregor | 2011-09-12 | 1 | -0/+2 | |
| | | | | | | | | where the compiler will look for module files. Eliminates the egregious hack where we looked into the header search paths for modules. llvm-svn: 139538 | |||||
* | Some minor updates to the Linux search path handling for Slackware. Patch ↵ | Eli Friedman | 2011-08-29 | 1 | -0/+11 | |
| | | | | | | by Will Dietz. PR10692. llvm-svn: 138753 | |||||
* | Add Gentoo gcc 4.3.4 include paths | Nico Weber | 2011-08-17 | 1 | -0/+4 | |
| | | | | llvm-svn: 137834 | |||||
* | On Darwin, libc++ may be installed alongside the compiler in | Douglas Gregor | 2011-07-29 | 1 | -1/+17 | |
| | | | | | | | lib/c++/v1. Look there first, before falling back to the normal /usr/include/c++/v1. <rdar://problem/9866149> llvm-svn: 136507 | |||||
* | Introduce the "-index-header-map" option, to give special semantics | Douglas Gregor | 2011-07-28 | 1 | -3/+3 | |
| | | | | | | | for quoted header lookup when dealing with not-yet-installed frameworks. Fixes <rdar://problem/9824020>. llvm-svn: 136331 | |||||
* | remove unneeded llvm:: namespace qualifiers on some core types now that ↵ | Chris Lattner | 2011-07-23 | 1 | -31/+31 | |
| | | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852 | |||||
* | Do not modify string returned by getenv on Windows. | Francois Pichet | 2011-07-16 | 1 | -4/+2 | |
| | | | | | | Fixes PR9875, patch by Nikola Smiljanic! llvm-svn: 135356 | |||||
* | Update header-search paths for MinGW, from Ruben Van Boxem | Douglas Gregor | 2011-07-05 | 1 | -0/+2 | |
| | | | | llvm-svn: 134406 | |||||
* | Make the GCC version proliferation worse by N+1 for the sake of | Chandler Carruth | 2011-07-02 | 1 | -0/+4 | |
| | | | | | | ArchLinux. =/ Fixes PR10246. llvm-svn: 134299 | |||||
* | Add initial *-*-rtems* target, from Joel Sherrill | Douglas Gregor | 2011-07-01 | 1 | -1/+4 | |
| | | | | llvm-svn: 134283 | |||||
* | Improve header search for MinGW(-w64), from Ruben Van Boxem! | Douglas Gregor | 2011-06-27 | 1 | -27/+39 | |
| | | | | llvm-svn: 133911 | |||||
* | Make InitHeaderSearch::AddPath and HeaderSearchOptions::AddPath consistent | Bob Wilson | 2011-06-21 | 1 | -1/+1 | |
| | | | | | | | | use an "IgnoreSysRoot" argument. HeaderSearchOptions had been using the opposite form with "IsSysRootRelative", which made for much confusion when looking at true/false values in calls in AddPath. No functional change. llvm-svn: 133550 | |||||
* | Fix the default libc++ header search path to be sysrooted. Radar 9639692. | Bob Wilson | 2011-06-21 | 1 | -2/+6 | |
| | | | | | | | | | The -cxx-isystem path is not prefixed with the sysroot directory, so it's not a good way for the driver to set the system default C++ search path. Instead, add -stdlib as a cc1 option and teach the frontend how to find the headers. The driver can then just pass -stdlib through to "cc1". llvm-svn: 133547 | |||||
* | Fix a regression introduced by r131955 which broke #include_next in subtle ↵ | Chris Lattner | 2011-06-16 | 1 | -1/+4 | |
| | | | | | | | | | situations because the Angled directories and the System directories were not being uniqued together, breaking #include_next. I'll see about a testcase, but it will be insane. llvm-svn: 133212 | |||||
* | code cleanups, no behavior change. | Chris Lattner | 2011-06-16 | 1 | -64/+64 | |
| | | | | llvm-svn: 133211 | |||||
* | Be aware of (x86_64-redhat-linux6E-)g++44 on RHEL5. | NAKAMURA Takumi | 2011-06-16 | 1 | -0/+3 | |
| | | | | | | | AFAIK, RHEL5 (and its clones) provides g++44 as the package "gcc44-c++". By default, g++-4.1.1 is available, though, its libstdc++ would not be suitable to clang++. llvm-svn: 133156 | |||||
* | Separate out these paths a bit by architecture. There are likely other | Eric Christopher | 2011-06-03 | 1 | -2/+3 | |
| | | | | | | places this is a problem. llvm-svn: 132542 | |||||
* | Add multi-arch include support for Ubuntu 11.11 with gcc 4.6.0. | Eric Christopher | 2011-06-03 | 1 | -0/+23 | |
| | | | | | | | | Patch by Tobias Hunger! Fixes PR10008 llvm-svn: 132541 | |||||
* | Make it possible for external tools to distinguish between paths that come ↵ | Nico Weber | 2011-05-24 | 1 | -2/+4 | |
| | | | | | | from -I and paths that come from -system. Patch from Paul Holden! llvm-svn: 131955 | |||||
* | Add paths used by openSuSE 12.1 | David Chisnall | 2011-05-19 | 1 | -0/+5 | |
| | | | | | | Patch by Ismail Dönmez! llvm-svn: 131636 | |||||
* | Add some support for RHEL5 systems. | Eric Christopher | 2011-05-17 | 1 | -0/+7 | |
| | | | | llvm-svn: 131505 | |||||
* | Add C++ include paths for libstdc++ with Ubuntu 11.04 and Debian's ↵ | Axel Naumann | 2011-05-04 | 1 | -0/+10 | |
| | | | | | | | | libstdc++6-4.5, as collected from http://packages.ubuntu.com/search?mode=exactfilename&suite=natty§ion=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 Takumi | 2011-05-02 | 1 | -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 Weber | 2011-04-25 | 1 | -0/+7 | |
| | | | | | | Wieczorek. llvm-svn: 130152 | |||||
* | ADT/Triple: Switch to using .isOSDarwin() predicate. | Daniel Dunbar | 2011-04-19 | 1 | -28/+31 | |
| | | | | llvm-svn: 129823 | |||||
* | Add support for Fedora16, gcc 4.6.0 and Fedora Rawhide. | Eric Christopher | 2011-04-06 | 1 | -0/+5 | |
| | | | | | | Patch by Bobby Powers llvm-svn: 129014 | |||||
* | lib/Frontend/InitHeaderSearch.cpp: Introduce AddMinGW64CXXPaths(Base) for ↵ | NAKAMURA Takumi | 2011-03-15 | 1 | -12/+24 | |
| | | | | | | x86_64-w64-mingw32. llvm-svn: 127652 | |||||
* | Add include paths for Gentoo Linux, from Marcin Mirosław! | Douglas Gregor | 2011-03-14 | 1 | -2/+22 | |
| | | | | llvm-svn: 127582 | |||||
* | Add MinGW GCC 4.5.2 include paths, from Matthieu Monrocq | Douglas Gregor | 2011-03-06 | 1 | -0/+3 | |
| | | | | llvm-svn: 127124 | |||||
* | Apply sysroot to system c++ headers too. Fixes PR9372. | Rafael Espindola | 2011-03-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 126884 | |||||
* | On FreeBSD, make sure /usr/local/include is *not* in the default include | Roman Divacky | 2011-03-01 | 1 | -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 toolchain | Joerg Sonnenberger | 2011-02-22 | 1 | -7/+2 | |
| | | | | | | use -nostdinc++ and -cxx-isystem. llvm-svn: 126223 | |||||
* | Bug#8945: Add -cxx-isystem option to specify C++ system directories. | Joerg Sonnenberger | 2011-02-22 | 1 | -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 Takumi | 2011-02-17 | 1 | -0/+8 | |
| | | | | llvm-svn: 125743 | |||||
* | Triple::MinGW64 is deprecated and removed. We can use Triple::MinGW32 instead. | NAKAMURA Takumi | 2011-02-17 | 1 | -9/+0 | |
| | | | | | | No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32. llvm-svn: 125742 | |||||
* | Fix whitespace. | NAKAMURA Takumi | 2011-02-17 | 1 | -15/+15 | |
| | | | | llvm-svn: 125741 | |||||
* | Fix the distro name. | Rafael Espindola | 2011-02-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 125601 | |||||
* | Fix include paths on 32 bit ubuntu 10.10. | Rafael Espindola | 2011-02-15 | 1 | -0/+5 | |
| | | | | | | Original patch by Jonas Bülow. llvm-svn: 125597 | |||||
* | InitHeaderSearch.cpp: [PR8298] Don't touch drive G: on Windows hosts! | NAKAMURA Takumi | 2011-02-11 | 1 | -6/+0 | |
| | | | | llvm-svn: 125364 | |||||
* | Moved here from LLVM Clang's configuration options and related macros. | Oscar Fuentes | 2011-02-03 | 1 | -0/+4 | |
| | | | | llvm-svn: 124825 | |||||
* | Add NetBSD target support. Patch by Joerg Sonnenberger. | Benjamin Kramer | 2011-02-02 | 1 | -3/+11 | |
| | | | | llvm-svn: 124736 | |||||
* | Add updated Debian ARM include path. | Nick Lewycky | 2011-02-01 | 1 | -0/+2 | |
| | | | | llvm-svn: 124684 | |||||
* | Remove all uses of PathV1::GetRootDirectory. | Michael J. Spencer | 2010-12-25 | 1 | -7/+6 | |
| | | | | llvm-svn: 122552 | |||||
* | Fix spelling. | Michael J. Spencer | 2010-12-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 122339 | |||||
* | Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}. | Michael J. Spencer | 2010-12-17 | 1 | -2/+2 | |
| | | | | llvm-svn: 122087 |