History log of /external/clang/lib/Frontend/InitHeaderSearch.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a4de17562d13d7a8188108243c4cfbd52f33229a 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master clang for rebase to r256229

http://b/26987366

(cherry picked from commit 87d948ecccffea9e9e37d0d053b246e2d6d6c47b)

Change-Id: I10ca401a280e905253aafabad9118693a2f24ffb
/external/clang/lib/Frontend/InitHeaderSearch.cpp
b6d6993e6e6d3daf4d9876794254d20a134e37c2 01-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master clang for rebase to r239765

Change-Id: I0393bcc952590a7226af8c4b58534a8ee5fd2d99
/external/clang/lib/Frontend/InitHeaderSearch.cpp
58878f85ab89b13e9eea4af3ccf055e42c557bc8 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master clang for rebase to r235153

Change-Id: Ia94bbcb6da7c75b6e7c2afedd1001094d62a7324
/external/clang/lib/Frontend/InitHeaderSearch.cpp
3ea9e33ea25e0c2b12db56418ba3f994eb662c04 08-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master clang for rebase to r233350

Change-Id: I12d4823f10bc9e445b8b86e7721b71f98d1df442
/external/clang/lib/Frontend/InitHeaderSearch.cpp
0e2c34f92f00628d48968dfea096d36381f494cb 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master clang for rebase to r230699.

Change-Id: I6a546ab3d4ae37119eebb735e102cca4f80ab520
/external/clang/lib/Frontend/InitHeaderSearch.cpp
176edba5311f6eff0cad2631449885ddf4fbc9ea 01-Dec-2014 Stephen Hines <srhines@google.com> Update aosp/master Clang for rebase to r222490.

Change-Id: Ic557ac55e97fbf6ee08771c7b7c3594777b0aefd
/external/clang/lib/Frontend/InitHeaderSearch.cpp
c568f1e98938584c0ef0b12ae5018ff7d90a4072 21-Jul-2014 Stephen Hines <srhines@google.com> Update Clang for rebase to r212749.

This also fixes a small issue with arm_neon.h not being generated always.

Includes a cherry-pick of:
r213450 - fixes mac-specific header issue
r213126 - removes a default -Bsymbolic on Android

Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/lib/Frontend/InitHeaderSearch.cpp
6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 29-May-2014 Stephen Hines <srhines@google.com> Update Clang for 3.5 rebase (r209713).

Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
/external/clang/lib/Frontend/InitHeaderSearch.cpp
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/lib/Frontend/InitHeaderSearch.cpp
c3e16a2f1cbb4d08aec1b9b567afa97cd083bc4e 15-Nov-2013 Justin Bogner <mail@justinbogner.com> Darwin: Look for libc++ headers in include/, rather than lib/

Up until now we were expecting that when libc++ is installed alongside
clang the headers would be in lib/, which was true if the configure
build was used and false if the cmake build was.

We've now corrected the configure build to install in include/, and
with this change we'll be able to find the correct headers with both
build systems.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5ff6c115456b13078ab49466c921f31f5a400f23 18-Oct-2013 Hans Wennborg <hans@hanshq.net> Add another MinGW header include path

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192982 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
dcc520ebc7d8631e24781de62168f816dab6c65c 18-Aug-2013 NAKAMURA Takumi <geek4civic@gmail.com> InitHeaderSearch.cpp: [Cygwin] Add 4.7.3.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188638 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
0b214905f7fff7fa21ecc54a17b97372ba0c9a07 13-Jun-2013 Benjamin Kramer <benny.kra@googlemail.com> Modernize some low-hanging PathV1 uses.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
34392373fe25e943586de0fdbe37b806c3f7ff70 11-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Include PathV1.h in files that use it.

This is preparation for replacing Path.h with PathV2.h.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
a7efaf99ac662af11890aae74d84da8d31ab2fe0 30-Apr-2013 Joerg Sonnenberger <joerg@bec.de> Add support for -stdlib=libc++ in the NetBSD toolchain.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180766 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
8cfb720c857e66b7fb64bf3cb80fd82fcd0c0ac3 12-Apr-2013 John McCall <rjmccall@apple.com> Fix the driver logic for recent versions of DragonFly.

Patch by John Marino.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179334 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
9cd90a23f75d213a37740555626f18d3bb9e540b 30-Jan-2013 Daniel Dunbar <daniel@zuster.org> [Frontend] Factor AddUnmappedPath() out of AddPath() and simplify.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173871 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ef84554239d77cc52a14b42f2bff8c2d02e7630e 30-Jan-2013 Daniel Dunbar <daniel@zuster.org> [Frontend] Add an ExternCSystem include entry group.

- The only group where it makes sense for the "ExternC" bit is System, so this
simplifies having to have the extra isCXXAware (or ImplicitExternC, depending
on what code you talk to) bit caried around.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173859 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
c33c9f7a9a955463b3418afd461774c726913800 30-Jan-2013 Daniel Dunbar <daniel@zuster.org> [Frontend] Make the include dir group independent from the "use sysroot" bit.

- This slightly decouples the path handling, since before the group sometimes
dominated the "use sysroot" bit, but it was still passed in via the API.

- No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173855 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
f85541c812af87e54b6738d22611721692ccdcb0 30-Jan-2013 Daniel Dunbar <daniel@zuster.org> [Frontend] Rename a member variable to clarify its intent.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173854 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
49ffaeff757daa79dc5bf73d4c1ad7dd856aa77f 30-Jan-2013 Daniel Dunbar <daniel@zuster.org> [Frontend] Factor out helper function, for clarity.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173853 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5c4e34c16782927ecfeb5f005d65b68e77f5435a 25-Jan-2013 Daniel Dunbar <daniel@zuster.org> [Frontend] Drop the isUserSupplied argument to InitHeaderSearch, it is unused.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
1ea6bc0fd9c1ff9fa03e8a829a79c4167445d503 25-Jan-2013 Daniel Dunbar <daniel@zuster.org> [Lex] Remove DirectoryLookup.UserSpecified, which is unused.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173409 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
55fc873017f10f6f566b182b70f6fc22aefa3464 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Sort all of Clang's files under 'lib', and fix up the broken headers
uncovered.

This required manually correcting all of the incorrect main-module
headers I could find, and running the new llvm/utils/sort_includes.py
script over the files.

I also manually added quite a few missing headers that were uncovered by
shuffling the order or moving headers up to be main-module-headers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
c042edd54face617a3b9d0b4b9d5a3ff229d0f48 24-Oct-2012 Douglas Gregor <dgregor@apple.com> Move HeaderSearchOptions into the Lex library, make it intrusively
reference-counted, and hold a reference to it in HeaderSearch.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166583 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
1696bc28f4460c187ab80f3b20b1507f58a4ef2f 13-Sep-2012 NAKAMURA Takumi <geek4civic@gmail.com> InitHeaderSearch.cpp: [mingw] Handle DOSish paths only on Win32 hosts.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163776 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
42f74f21ece01dc8573d5377859d327fbb23b26c 09-Aug-2012 Eli Friedman <eli.friedman@gmail.com> clang support for Bitrig (an OpenBSD fork); patch by David Hill.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161546 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
9d82a038f04945739c4960d9fe683d4ab66722eb 02-Aug-2012 Hans Wennborg <hans@hanshq.net> Correct AddDefaultCIncludePaths for OpenBSD to not include /usr/local/include
in the default search path. Compilers on *BSD OS's only include /usr/include by
default.

Contributed by Brad Smith <brad@comstyle.com>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
f122a138e39dbb29162abfa9a3d44091d8efa7af 13-Jun-2012 Richard Smith <richard-llvm@metafoo.co.uk> Add -isystem-prefix and -ino-system-prefix arguments, which can be used to
override whether headers are system headers by checking for prefixes of the
header name specified in the #include directive.

This allows warnings to be disabled for third-party code which is found in
specific subdirectories of include paths.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
b3dcbbda59a24a5c72483d00f16c5e3f2b328495 26-Mar-2012 Aaron Ballman <aaron@aaronballman.com> Since this change is generating a considerable amount of discussion (and possibly even a regression for known bad versions), I'm reverting it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153420 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
b3656d312d856b15f42b889c3c390845f6867c33 25-Mar-2012 Aaron Ballman <aaron@aaronballman.com> No longer hard coding paths to the MinGW include directories; using a regular expression instead.

Patch thanks to Nikola Smiljanic

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
e87e851fcebaf27341858b55fa3f46b9ce23a207 15-Mar-2012 Aaron Ballman <aaron@aaronballman.com> Adding in newer MinGW header paths.

Patch thanks to Nikola Smiljanic

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
b4f0bd6864f33bc2fd8246f1f841d87e60c4ffc8 02-Mar-2012 David Chisnall <csdavec@swan.ac.uk> Add the Solaris support directory to the header search when using libc++.

Unconditionally define __C99FEATURES__ when using C++ on Solaris. This is a
(hopefully temporary) work around for libc++ exposing C99-but-not-C++98
features in C++98 mode.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151889 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
165329c1d134d000904d6e08b1d166bf34e05517 28-Feb-2012 David Chisnall <csdavec@swan.ac.uk> Some more Solaris fixes. Now successfully building libc++ on Solaris with clang (and linking clang against it).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
b622959527c07cc6b68739eac1412f75f0ca77fa 15-Feb-2012 David Chisnall <csdavec@swan.ac.uk> Add some Solaris include paths and fix a -lgcc_eh that apparently should be -lgcc_s.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
cc8a94565ec2ff459dcee9ef34237fdcdfc69b3f 14-Feb-2012 Dylan Noblesmith <nobled@dreamwidth.org> include clang's config.h unconditionally (v2)

And remove HAVE_CLANG_CONFIG_H, now that the header is generated
in the autoconf build, too.

Reverts r149571/restores r149504, now that config.h is generated
correctly by LLVM's configure in all build configurations.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
f7ccbad5d9949e7ddd1cbef43d482553b811e026 05-Feb-2012 Dylan Noblesmith <nobled@dreamwidth.org> Basic: import SmallString<> into clang namespace

(I was going to fix the TODO about DenseMap too, but
that would break self-host right now. See PR11922.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149799 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
353300c4af020ce5d8368d1c336cbf7583c33a7d 03-Feb-2012 Rafael Espindola <rafael.espindola@gmail.com> Replace the old --with-cxx-* configure options with a single --with-gcc-toolchain
that just uses the new toolchain probing logic. This fixes linking with -m32 on
64 bit systems (the /32 dir was not being added to the search).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149652 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
2f04f1843ca0ffca13b8b0d4dadd1f50dffb38b8 02-Feb-2012 Douglas Gregor <dgregor@apple.com> Back out my heinous hack that tricked the module generation mechanism
into using non-absolute system includes (<foo>)...

... and introduce another hack that is simultaneously more heineous
and more effective. We whitelist Clang-supplied headers that augment
or override system headers (such as float.h, stdarg.h, and
tgmath.h). For these headers, Clang does not provide a module
mapping. Instead, a system-supplied module map can refer to these
headers in a system module, and Clang will look both in its own
include directory and wherever the system-supplied module map
suggests, then adds either or both headers. The end result is that
Clang-supplied headers get merged into the system-supplied module for
the C standard library.

As a drive-by, fix up a few dependencies in the _Builtin_instrinsics
module.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
f2462be34a49e2108c9b4151f8e6d3fe1b916179 02-Feb-2012 Dylan Noblesmith <nobled@dreamwidth.org> back out r149504

Too many weird build failures.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149571 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
69d3b4f7c9fa818d2536b4f1b220b942ae392128 01-Feb-2012 Dylan Noblesmith <nobled@dreamwidth.org> include clang's config.h unconditionally

And remove HAVE_CLANG_CONFIG_H, now that the header is generated
in the autoconf build, too. (clang r149497 / llvm r149498)

Also include the config.h header after all other headers, per
the LLVM coding standards.

It also turns out WindowsToolChain.cpp wasn't using the config
header at all, so that include's just deleted now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149504 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
f3c1ca6bced3f79ec6d76f1bcb05c5ae6944ce0b 21-Jan-2012 NAKAMURA Takumi <geek4civic@gmail.com> lib/Frontend/InitHeaderSearch.cpp: [Cygwin] Add 4.5.3.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
b4f90c28fabd167d59c63b445757b744dcb42971 21-Jan-2012 NAKAMURA Takumi <geek4civic@gmail.com> [Cygwin] Abandon Cygwin-1.5 and g++-3. Use g++-4.3 and higher on Cygwin-1.7.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148636 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
a74ec5c314178a7e73bbaa7d406eb5079ef8ef26 29-Nov-2011 Eli Friedman <eli.friedman@gmail.com> Add a couple more GCC versions to C++ search paths for MinGW. Patch by Ruben Van Boxem.

(We should probably start doing some sort of autodetection like we do on Linux at some point.)



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145326 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
7d7e9f963a4977e36efb90fd9c369f33ced1a95a 05-Nov-2011 Chandler Carruth <chandlerc@gmail.com> Move the Linux header searching from the Frontend to the Driver. This is
the first (and diff-noisiest) step to making Linux header searching
tremendously more principled and less brittle. Note that this step
should have essentially no functional impact. We still search the exact
same set of paths in the exact same order. The only change here is where
the code implementing such a search lives.

This has one obvious negative impact -- we now pass a ludicrous number
of flags to the CC1 layer. That should go away as I re-base this logic
on the logic to detect a GCC installation. I want to do this in two
phases so the bots can tell me if this step alone breaks something, and
so that the diffs of the refactoring make more sense.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ac2bc4d220a6263be96b943e9162f4a11149e26d 05-Nov-2011 Chandler Carruth <chandlerc@gmail.com> Add two flags to the CC1 layer that I was hoping to avoid. We need to
encode the *exact* semantics which the header search paths internally
built by the Frontend layer have had, which is both non-user-provided,
and at times adding the implicit extern "C" bit to the directory entry.

There are lots of CC1 options that are very close, but none do quite
this, and they are all already overloaded for other purposes. In some
senses this makes the command lines more clean as it clearly indicates
which flags are exclusively used to implement internal detection of
"standard" header search paths.

Lots of the implementation of this is really crufty, due to the
surrounding cruft. It doesn't seem worth investing lots of time cleaning
this up as it isn't new, and hopefully *lots* of this code will melt
away as header search inside of the frontend becomes increasingly
trivial.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143798 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ca23419b8214654d185d595956e9ddf24984750a 05-Nov-2011 Chandler Carruth <chandlerc@gmail.com> Begin the migration of header search logic to the driver, starting with
Windows. There are still FIXMEs and lots of problems with this code.
Some of them will be addressed shortly by my follow-up patches, but most
are going to wait until we isolate this code and can fix it properly.
This version should be no worse than what we had before.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
27e66ad42e04294a9322c85bbc14c5d263b2650d 02-Nov-2011 Chandler Carruth <chandlerc@gmail.com> Add the newest Gentoo GCC version based on the reported installed
version in PR11298.

I hear-by apologize for adding yet more code to this monstrosity.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143567 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ef0faeadecf3f539d47616de2b7363412fb3ac50 31-Oct-2011 Chandler Carruth <chandlerc@gmail.com> Add "just one more" include path to the monstrosity that is our header
search logic. The Debian multiarch seems to have completely changed from
when these were originally added, and I'd like to remove a bunch of
them, but I'll be lazy and delay that until this logic is hoisted into
the driver where it belongs.

This should resolve PR11223.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143345 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
a268fc0f2229eb132ebc8501b140093aeb5516bf 11-Oct-2011 Daniel Dunbar <daniel@zuster.org> Frontend: Replace -nostdinc by -nostdsysteminc (which is just system include
paths). The -nostdinc behavior is now -nostdsysteminc + -nobuiltininc.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141691 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
e305e81f65d13e6953f623a6b31176ad7041ba20 10-Oct-2011 Chad Rosier <mcrosier@apple.com> When an included non-system directory duplicates a system directory the clang
frontend removes the non-system directory to maintain gcc compatibility. When
this happens NumAngled needs to be updated.
PR11097

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141565 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ef48e053f98391d3df2818307160de16988227a5 04-Oct-2011 Justin Holewinski <justin.holewinski@gmail.com> Fix include path detection on Fedora 15 with GCC 4.6.1. Patch by Arthur Haas.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
c535d9730e11ca335790359bfbd4600be71c5410 23-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> Reenable -cxx-isystem for Objective C++, until I come up with a better solution

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140365 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
47adebef0df6dce752fe9a45e9190e8005b5d07c 22-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> Add support for CPATH and friends.

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
6e975c4517958bcc11c834336d340797356058db 14-Sep-2011 Douglas Gregor <dgregor@apple.com> For modules, use a hash of the compiler version, language options, and
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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139662 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
9a6da6930644b4f2dbe4885b0eb4fc1274ff56a4 12-Sep-2011 Douglas Gregor <dgregor@apple.com> Introduce a cc1-level option to provide the path to the module cache,
where the compiler will look for module files. Eliminates the
egregious hack where we looked into the header search paths for
modules.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139538 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
b1f2f4782097ed5e0a760598cbb853864cf9d7ce 29-Aug-2011 Eli Friedman <eli.friedman@gmail.com> Some minor updates to the Linux search path handling for Slackware. Patch by Will Dietz. PR10692.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138753 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
236a537eacbb347b5aa19a8aa2c82cdb7da8a62b 17-Aug-2011 Nico Weber <nicolasweber@gmx.de> Add Gentoo gcc 4.3.4 include paths

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
baf41f16421a10c8ecd015baa686aa1b965ae5e3 29-Jul-2011 Douglas Gregor <dgregor@apple.com> On Darwin, libc++ may be installed alongside the compiler in
lib/c++/v1. Look there first, before falling back to the normal
/usr/include/c++/v1. <rdar://problem/9866149>


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136507 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
65e02fa80e1c185f18e5f81cefc30d75383a7301 28-Jul-2011 Douglas Gregor <dgregor@apple.com> Introduce the "-index-header-map" option, to give special semantics
for quoted header lookup when dealing with not-yet-installed
frameworks. Fixes <rdar://problem/9824020>.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136331 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5f9e272e632e951b1efe824cd16acb4d96077930 23-Jul-2011 Chris Lattner <sabre@nondot.org> remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
them into the clang namespace.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
a6c2b3a648913d47703625acb17671dd2d926bbc 16-Jul-2011 Francois Pichet <pichet2000@gmail.com> Do not modify string returned by getenv on Windows.
Fixes PR9875, patch by Nikola Smiljanic!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135356 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
f732f2b11b136f34aecb95b0a2e72f5f272eb723 05-Jul-2011 Douglas Gregor <dgregor@apple.com> Update header-search paths for MinGW, from Ruben Van Boxem

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134406 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
37187cc4554d34fbbb5f168041d6acc4be028fe9 02-Jul-2011 Chandler Carruth <chandlerc@gmail.com> Make the GCC version proliferation worse by N+1 for the sake of
ArchLinux. =/ Fixes PR10246.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134299 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
dca5226598097add5d86d57b227aa31df27f0ba4 02-Jul-2011 Douglas Gregor <dgregor@apple.com> Add initial *-*-rtems* target, from Joel Sherrill

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
d944a9b7a680be2ce74aa9398e0604fdebf0338a 27-Jun-2011 Douglas Gregor <dgregor@apple.com> Improve header search for MinGW(-w64), from Ruben Van Boxem!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133911 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5dd45f13dc4463f0c18b923fe6795ce55103301d 21-Jun-2011 Bob Wilson <bob.wilson@apple.com> Make InitHeaderSearch::AddPath and HeaderSearchOptions::AddPath consistent
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133550 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
13c4f2144b35bda21746eb60ad90e52a9bd8dcda 21-Jun-2011 Bob Wilson <bob.wilson@apple.com> Fix the default libc++ header search path to be sysrooted. Radar 9639692.

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".

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133547 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
1d7f12b83340610f76a73d21cac391e6feced7aa 17-Jun-2011 Chris Lattner <sabre@nondot.org> Fix a regression introduced by r131955 which broke #include_next in subtle 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133212 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ebb6164bebf2b1e4f439433e751710b506918f62 17-Jun-2011 Chris Lattner <sabre@nondot.org> code cleanups, no behavior change.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133211 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
c37039803a18c7f0f0975a618147d336de3d3d58 16-Jun-2011 NAKAMURA Takumi <geek4civic@gmail.com> Be aware of (x86_64-redhat-linux6E-)g++44 on RHEL5.

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++.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133156 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
55ab5b0799c256a719e69ce463652839135e62f7 03-Jun-2011 Eric Christopher <echristo@apple.com> Separate out these paths a bit by architecture. There are likely other
places this is a problem.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132542 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
b3169da1e57f5feb53f4a0396bd8e7ec70309980 03-Jun-2011 Eric Christopher <echristo@apple.com> Add multi-arch include support for Ubuntu 11.11 with gcc 4.6.0.

Patch by Tobias Hunger!

Fixes PR10008


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132541 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
74a5fd8bcc68b540b58f6fcd2d80e6e926966e71 24-May-2011 Nico Weber <nicolasweber@gmx.de> Make it possible for external tools to distinguish between paths that come from -I and paths that come from -system. Patch from Paul Holden!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131955 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
2eb3cce91fa334be35caefedd5374c22d086ad1c 19-May-2011 David Chisnall <csdavec@swan.ac.uk> Add paths used by openSuSE 12.1

Patch by Ismail Dönmez!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131636 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
199e09a93813516a5e8f9ce2c3cd4c18d60961db 18-May-2011 Eric Christopher <echristo@apple.com> Add some support for RHEL5 systems.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131505 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
14a011688d52794cf58fec8197e4518a54f03d80 04-May-2011 Axel Naumann <Axel.Naumann@cern.ch> Add C++ include paths for libstdc++ with Ubuntu 11.04 and Debian's 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130837 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
0f0cdab31a4f71914b7f654501d69d96e9f378da 02-May-2011 NAKAMURA Takumi <geek4civic@gmail.com> lib/Frontend/InitHeaderSearch.cpp: Tweak AddPath() to accept "/foo/bar" (not "X:\foo\bar") with -isysroot. test/PCH/reloc.c can pass.

FIXME: We should consider better isysroot scheme on Win32 hosts.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130683 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
014f9720bc53cc748aa13b0773cd67428a9e6ae4 25-Apr-2011 Nico Weber <nicolasweber@gmx.de> Add libstdc++ search paths for GCC 4.6.0 on Arch Linux. Patch by Jakub Wieczorek.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130152 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
db57a4cdb0a6abf3239f3a794a900ce312c5887b 19-Apr-2011 Daniel Dunbar <daniel@zuster.org> ADT/Triple: Switch to using .isOSDarwin() predicate.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129823 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
8f1cc075c36212797ef52dac0e2fe35417a6bb6b 06-Apr-2011 Eric Christopher <echristo@apple.com> Add support for Fedora16, gcc 4.6.0 and Fedora Rawhide.

Patch by Bobby Powers


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129014 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
9db48467f19d4f0929a5ba40c5e2bd7255dc95f0 15-Mar-2011 NAKAMURA Takumi <geek4civic@gmail.com> lib/Frontend/InitHeaderSearch.cpp: Introduce AddMinGW64CXXPaths(Base) for x86_64-w64-mingw32.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127652 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5370383567e32c840b728bd5d066db281710f2c1 14-Mar-2011 Douglas Gregor <dgregor@apple.com> Add include paths for Gentoo Linux, from Marcin Mirosław!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127582 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ab0d8bde2d8ab54aae3a0d9fce11f29b3d1d0bb4 06-Mar-2011 Douglas Gregor <dgregor@apple.com> Add MinGW GCC 4.5.2 include paths, from Matthieu Monrocq

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127124 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
9a7e09d82f739c8fd1b6c28787397d698515a871 02-Mar-2011 Rafael Espindola <rafael.espindola@gmail.com> Apply sysroot to system c++ headers too. Fixes PR9372.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126884 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
630766057eabe78f9bb2e0c0d023223fb8d0174e 01-Mar-2011 Roman Divacky <rdivacky@freebsd.org> On FreeBSD, make sure /usr/local/include is *not* in the default include
path. This avoids accidentally including the wrong headers.

Patch by Dimitry Andric!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126761 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
0bb208c91e91e2fe91e0f487b00ff4b5b30c8cc2 22-Feb-2011 Joerg Sonnenberger <joerg@bec.de> Remove the storage for -cxx-system-include. Make libcxx toolchain
use -nostdinc++ and -cxx-isystem.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126223 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
2df6647847af283302834dadae5d9dcefa7e0ad4 22-Feb-2011 Joerg Sonnenberger <joerg@bec.de> Bug#8945: Add -cxx-isystem option to specify C++ system directories.
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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126167 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
05c699e97aea64ee8cea1faaca900a39f977350c 17-Feb-2011 NAKAMURA Takumi <geek4civic@gmail.com> lib/Frontend/InitHeaderSearch.cpp: Add mingw-w64's include paths.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
0aa205765aec0aa5eed672f8e3cade543372edcd 17-Feb-2011 NAKAMURA Takumi <geek4civic@gmail.com> Triple::MinGW64 is deprecated and removed. We can use Triple::MinGW32 instead.

No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125742 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
125b4cb35536e45201f8f2cb19ee620e3ad67c49 17-Feb-2011 NAKAMURA Takumi <geek4civic@gmail.com> Fix whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125741 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
c12bbe5cbee8936204d286e17d8e0511dd67ddb4 15-Feb-2011 Rafael Espindola <rafael.espindola@gmail.com> Fix the distro name.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125601 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
adafdbae908a8e798fa4940ed89f61597b3d7ca5 15-Feb-2011 Rafael Espindola <rafael.espindola@gmail.com> Fix include paths on 32 bit ubuntu 10.10.
Original patch by Jonas Bülow.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5f740c68685eaa02b969e98365129f6fe1e3249b 11-Feb-2011 NAKAMURA Takumi <geek4civic@gmail.com> InitHeaderSearch.cpp: [PR8298] Don't touch drive G: on Windows hosts!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125364 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
2100fe952a644134b1dca462f2e6330cf14ef47c 03-Feb-2011 Oscar Fuentes <ofv@wanadoo.es> Moved here from LLVM Clang's configuration options and related macros.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124825 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
8e50a96b387dca7525caa8a6add31420dd82a2cd 02-Feb-2011 Benjamin Kramer <benny.kra@googlemail.com> Add NetBSD target support. Patch by Joerg Sonnenberger.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124736 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
db0835552ff4b640bc908a50ccd075ab63cf6fff 01-Feb-2011 Nick Lewycky <nicholas@mxc.ca> Add updated Debian ARM include path.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
af6530c938bfc60902f0dfec1c0808aedbee1663 25-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> Remove all uses of PathV1::GetRootDirectory.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122552 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
06a8dc616ec8324694d45cd4d724634a899be9a3 21-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> Fix spelling.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122339 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
256053b31e697fdf0cc48f17d621c82fc3b8dff0 17-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122087 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
8a24341a121e3e004e322ff74301c7ba29b10488 01-Dec-2010 Dan Gohman <gohman@apple.com> Don't check the isysroot path for Path::isValid(); if the user has
specified a syntactically invalid path, it's better to let the OS
diagnose the problem than to silently skip it.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120542 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
03013fa9a0bf1ef4b907f5fec006c8f4000fdd21 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120297 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
fbfdb202405df65e054db4ad2111393c1b581d2d 28-Nov-2010 Chandler Carruth <chandlerc@gmail.com> Add GCC 4.4.5 for Gentoo, and order them in a more sensible way. This allows
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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120238 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
9d2c06001b0c09fdb0f973cd6f8fa5555aea1b5f 25-Nov-2010 Rafael Espindola <rafael.espindola@gmail.com> Add C++ header path for openSUSE 11.4.
Patch by İsmail Dönmez.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120154 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
39b49bcaaddb1049234fca9500c0ac02c088e23d 23-Nov-2010 Chris Lattner <sabre@nondot.org> now the FileManager has a FileSystemOpts ivar, stop threading
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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120010 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
8ad8a1cc1e39d70345d45ef1b8564ec6cbf49471 16-Nov-2010 Nico Weber <nicolasweber@gmx.de> Add gcc-4.4.4 headers on Gentoo systems. Patch by Bertjan Broeksema!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119348 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
7c1a1ef39d6768289a90be94a9e706fda59582be 16-Nov-2010 Chandler Carruth <chandlerc@gmail.com> Remove an unintended restriction on sysroots introduced during the Path
conversion.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5619ae5d25dc77410a444c86606d4ec9bae8b921 15-Nov-2010 Chandler Carruth <chandlerc@gmail.com> Fix a think-o. Fixes PR8606.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
c09265a5fd94af5dcfd7325d0cb4f04197d65afc 15-Nov-2010 Chandler Carruth <chandlerc@gmail.com> Clean up some names and fix the handling of default sysroots on Windows and
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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
f3721457cd9f364f262e7a2d61edcdad05996e61 15-Nov-2010 Chandler Carruth <chandlerc@gmail.com> Switch the sysroot logic to use the Path interface, resolving a FIXME and
making the code less gross.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5853b0f117ee811388219bce738b24835b8d7fb2 15-Nov-2010 Chandler Carruth <chandlerc@gmail.com> Make sysroot only apply to baked in paths which start with a '/'.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
389db16c63eec6ecfa9b235155252d8da766e94e 03-Nov-2010 Argyrios Kyrtzidis <akyrtzi@gmail.com> Implement -working-directory.

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
6638b3a15edea25c4b1fdf8046e71d82683d8efa 02-Nov-2010 Rafael Espindola <rafael.espindola@gmail.com> Add support for Fedora 14. Patch by Daniel Kozlowski.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118035 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
32df002017e3e8d86bfd3f7090b341d265676fc9 11-Oct-2010 NAKAMURA Takumi <geek4civic@gmail.com> lib/Frontend/InitHeaderSearch.cpp: Fix compatibility to Cygming.

- 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116182 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
0d155a5e1d6406d27df5779d0c9fb98d49a713a0 11-Sep-2010 Nuno Lopes <nunoplopes@sapo.pt> add latest gentoo gcc path

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113696 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
80c26f44a6f8d859a2a3babb06bd3ca8d86f2623 09-Sep-2010 Daniel Dunbar <daniel@zuster.org> Frontend: Add -cxx-system-include option which can be used to specify an
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
d11ee7f66213bc418df192b7724d3aed349a642c 09-Sep-2010 Daniel Dunbar <daniel@zuster.org> Fix indentation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113504 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
8e9006bb31184a38b7c4c9d3d3040394652cbd9b 03-Sep-2010 Chris Lattner <sabre@nondot.org> fix lookup of bits/c++config.h on mingw, patch by Ismail Donmez!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112969 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
6a081405e3c8cd41ac68db9e961fe7016900ccd8 01-Sep-2010 Chris Lattner <sabre@nondot.org> add a new version of mingw, patch by İsmail "cartman" Dönmez
in PR8049


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112710 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ab079419ff2e52652be349e949202a2470f8d253 01-Sep-2010 Anton Korobeynikov <asl@math.spbu.ru> Add NetBSD include search path

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
23637beead1fce7dac755890c9482bcdce538b87 25-Aug-2010 Chris Lattner <sabre@nondot.org> correct the -isystem option to not add the -isysroot path. Only the weird
-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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
a7e6845660f91ec611427e1db842780e1ec12bdb 22-Aug-2010 Eli Friedman <eli.friedman@gmail.com> Detabify.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111768 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ff58e3610f4e12094def69eb2d6dcb4330378d8f 21-Aug-2010 Michael J. Spencer <bigcheesegs@gmail.com> Visual Studio tools used on win32 hosts when targeting win32.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111748 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
95c0457054518102af6250e718a13a5b2ee5dbea 02-Aug-2010 Daniel Dunbar <daniel@zuster.org> Driver/OpenBSD: Update toolchain for compiler changes / C++; patch by Jonathan
Gray.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109994 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
df22c2cc7703c7df04eadd2e6e59c61f545a5741 25-Jul-2010 Nick Lewycky <nicholas@mxc.ca> Remove emacs file mode marker on file with .cpp extension.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
6693534adb31fdd13b1ee873df3e90c99f916ad5 24-Jul-2010 Nick Lewycky <nicholas@mxc.ca> Add header searching for llvm-gcc trunk on Gentoo AMD64. Patch by Mark Wood!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109357 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
38e317d6dce161b249508686cc67eb7176958762 07-Jul-2010 Chris Lattner <sabre@nondot.org> add driver support for minix, patch by Kees van Reeuwijk
from PR7583


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ea9e56d38485921d596f2366d625c471a6d3c15a 16-Jun-2010 Douglas Gregor <dgregor@apple.com> Add Cygwin C++ header search path.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106108 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
e7d6c2cae6a9b9985db02cfc8bb4e7b714630ed5 04-Jun-2010 Rafael Espindola <rafael.espindola@gmail.com> Add ARM paths for debian. Not enough to bootstrap on a beagle board, but
moves us further.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105468 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
616d4362f01a8f819f9351372c3c4368777d4480 29-May-2010 Douglas Gregor <dgregor@apple.com> More PowerPC paths on Darwin

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
582c30135dce1857db62e58b916ab0fa5edfb1d6 29-May-2010 Douglas Gregor <dgregor@apple.com> Add C++ include paths for Darwin PowerPC

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
4336e191cc52aa1ef72f9a542f5a6d5f9f02a825 29-May-2010 Chris Lattner <sabre@nondot.org> add fedora 13 paths, patch by Hendrik Richter.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
f2070b374c1d6fc72aa6bdb2f49c1efdc4f6d963 28-May-2010 Daniel Dunbar <daniel@zuster.org> Frontend: Sprinkle in some C++ header paths for ARM/Darwin. Also, don't add x86
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
80f93d9fe82ebe7e58913646248240de838283be 18-May-2010 Douglas Gregor <dgregor@apple.com> "The attached patch allows clang to find the headers
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
79bc57c074cb91f574fba19215f95b63dcf6b04b 16-May-2010 mike-m <mikem.llvm@gmail.com> Moved clang-builtin include dir position to immediately precede C includes.
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
c3ec9ae41335d4f8f1c21278ddfe7d37a9e0d551 06-May-2010 mike-m <mikem.llvm@gmail.com> Reverted part of r103177 (repositioning of clang-builtin include/)
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ac78b7a7af0e67f2f4f45d9d94393c281ff4417b 06-May-2010 mike-m <mikem.llvm@gmail.com> Reposition clang-builtin include/ to immediately precede /usr/include/,
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
a608737659d4330d9ae7622bf1a87c33b9d97072 05-May-2010 mike-m <mikem.llvm@gmail.com> Test commit.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
0e3cc05542e62fe89345ce94a73494525ee463e0 05-May-2010 Chris Lattner <sabre@nondot.org> fit in 80 cols


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103075 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ea00f847a0e1771b1fcfe683d3506940dc2de1ec 23-Apr-2010 Chris Lattner <sabre@nondot.org> add GNU C++ include paths for Fedora 11,12 x86_64,
patch by mikem!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
cb421fa690da545b58a720abe5f1c49b166dbde7 19-Apr-2010 Dan Gohman <gohman@apple.com> Fix -Wcast-qual warnings.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
86ed3a326342fa2a8c9d9b5d1d7280c9bad2b007 11-Apr-2010 Chris Lattner <sabre@nondot.org> add haiku support, patch by Paul Davey!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100982 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
4c2bcad7b843c10fd4a2ffd43da40bfefb4dc8ba 24-Mar-2010 Douglas Gregor <dgregor@apple.com> Implement support for -nostdc++. Fixes PR6446.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99417 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
fc904d5b8bfa8fccca0ead0051e3f9e4374f6e7a 06-Mar-2010 Chris Lattner <sabre@nondot.org> on both the mac and linux, /usr/local/include is treated
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
8383c554cde943ffcf678e5394a1a616d150b84d 04-Mar-2010 Eric Christopher <echristo@apple.com> Remove the linux c includes part of my last patch.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97679 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
70d9d4196e6531926ca18b2ca850eb218041488d 03-Mar-2010 Eric Christopher <echristo@apple.com> Add in more c++ header paths for later gccs under gentoo linux.
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
e69f047a6c882ce36bd260a8fed0ae31114a5a7e 27-Feb-2010 Nick Lewycky <nicholas@mxc.ca> Debian sid moved these headers into /4.4 and left /4.4.3 as a symlink. Update.
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
0edeca592f71e520d00dc09e74b829e8f7805d0b 13-Feb-2010 Chris Lattner <sabre@nondot.org> add support for t Fedora 12 (February 2010), patch by
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
0db3d725ece8c0796905843d5392c8667d3706c1 25-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com> Update C++ include paths for Exherbo, by Ingmar Vanhassel.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94420 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
6cd5216bb61e6165d8f6e8fb781d45c035bd4e00 20-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com> Make some helper functions static.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94004 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ab8ae19ea4285a15ca43123e8e218e401dc5cb5a 20-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com> Don't store a Twine temporary, it's unsafe.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94003 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
0720b5159010479c08f8264a8a209037ecf55922 20-Jan-2010 Chris Lattner <sabre@nondot.org> add support for Fedora 10 x86_64, there really should be a better way to handle this.
patch by Dmitry


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
afe859a9a6217f177daf42ebab294a90bfe8a6ab 17-Jan-2010 Nuno Lopes <nunoplopes@sapo.pt> PR6055: fix FreeBSD c++ include path. patch by Roman Divacky

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93668 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
7a7ca281bcf50b34de1ce067d3c55879b81722ae 09-Jan-2010 Chris Lattner <sabre@nondot.org> improve support for dragonfly, patch by Sascha Wildner!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
331e8010aed1c2175328ed470aea75e93ff70b32 18-Dec-2009 Torok Edwin <edwintorok@gmail.com> Debian has x86_64-linux-gnu, not x86_64-pc-linux-gnu, so add it.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91698 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
fc4b899563f70b2b1fc45948ebf7451f16ccfc09 18-Dec-2009 Torok Edwin <edwintorok@gmail.com> Move the 4.4.2 c++ include search to the top, otherwise it was picking the 4.1.3
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
8b9adfea5e834eaee0f45d8cc7fb052d68df4a46 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Add -resource-dir to clang -cc1, this allows the base directory for compiler
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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
1e69fe3a9f0a42b32a3000bda51677d51416564e 13-Dec-2009 Daniel Dunbar <daniel@zuster.org> CompilerInvocation: Move builtin-include-path logic out of CompilerInvocation::CreateFromArgs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
e89ba59005479529f5567f12b436617a2ca73ec2 08-Dec-2009 Benjamin Kramer <benny.kra@googlemail.com> Twinify InitHeaderSearch::AddPath and use it in C++ include path generation.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90853 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
9e9ddf6100fd50ca2f9f9d0106b856e20b43300f 08-Dec-2009 Benjamin Kramer <benny.kra@googlemail.com> Use StringRefs in InitHeaderSearch::AddDelimitedPaths.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
33cc2437ae3a609cdc44179931a2909eb48a8200 07-Dec-2009 Nuno Lopes <nunoplopes@sapo.pt> add fedora 12 include path

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90772 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
e7cb7e4570842297f698bd7fd8d85520fc008acd 03-Dec-2009 Daniel Dunbar <daniel@zuster.org> Kill a few more random stderr uses.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90441 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
9319f02dea2449caf5c7a0d07c596ca324e43574 23-Nov-2009 John Thompson <John.Thompson.JTSoftware@gmail.com> Put back hard-coded paths for win32 until I figure out what happened to failed tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89677 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
6ec18a3f86c702004af66cce6ff979999a736898 23-Nov-2009 Rafael Espindola <rafael.espindola@gmail.com> Reorder the header search a bit so that it matches gcc exactly:

*) 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
/external/clang/lib/Frontend/InitHeaderSearch.cpp
75ee3bd6e7ed2b4286d5e717ae7b94411f90b3b9 21-Nov-2009 John Thompson <John.Thompson.JTSoftware@gmail.com> Revised Win32 include path to search highest version in registry, plus platform SDK path

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
189a14869a36ecf8bd5edc94255a34061044efe2 17-Nov-2009 Nuno Lopes <nunoplopes@sapo.pt> add Fedora 11 include path. what a crap..

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89098 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
1b483e70ad3f670f6dd0bc62dbe0921a28195f24 17-Nov-2009 Daniel Dunbar <daniel@zuster.org> Remove unused IsCXXAware and IgnoreSysRoots option from HeaderSearchOptions::Entry.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89035 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
c363cb1929c7908c8c8c4b77d025c2ccb09284ae 16-Nov-2009 Daniel Dunbar <daniel@zuster.org> Store more information in HeaderSearchOptions so that its initialization is not
language dependent.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88981 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ab7ae95c46f288ac52974aa60334a9575f9a850c 16-Nov-2009 Rafael Espindola <rafael.espindola@gmail.com> Use configure options for searching for libstdc++.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88945 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
aadd7a48453b4f58bd8e1e9eb670918ee7d6a711 13-Nov-2009 Rafael Espindola <rafael.espindola@gmail.com> Use StringRef::split instead of SplitString.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87085 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
c706468b1e00bab49ca92eb500a39657f530f828 12-Nov-2009 Daniel Dunbar <daniel@zuster.org> Avoid comparing string literals.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86967 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
f0a2f51be576089e1a84cd677c09156dae067b6a 12-Nov-2009 Rafael Espindola <rafael.espindola@gmail.com> Use the --with-c-include-dirs configure option.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86956 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5814e657c9ad9ef6049a2a4af0d2aad248a8a15c 11-Nov-2009 Daniel Dunbar <daniel@zuster.org> Allow Preprocessor to take ownership of the HeaderSearch object. I think it should probably always own the header search object, but I'm not sure...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86882 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
2cdafa8001ee69b75d2906cbb36f16cf8e1dc60a 10-Nov-2009 Daniel Dunbar <daniel@zuster.org> Privatize InitHeaderSearch, this functionality is only exposed via
ApplyHeaderSearchOptions now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86617 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
dd35ce9a783dea7e6660f9cb1d973742f3b3c73f 07-Nov-2009 Daniel Dunbar <daniel@zuster.org> Switch clang-cc to use ApplyHeaderSearchOptions, and fix a thinko.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
63c8b77334f90472260d2f48df2742ed5067261e 07-Nov-2009 Daniel Dunbar <daniel@zuster.org> Add HeaderSearchOptions class, for packaging the information needed to
initialize HeaderSearch. Not used yet.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86338 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
e166582f8f36f4db8f4ea157538fab7fe6bf2658 07-Nov-2009 Daniel Dunbar <daniel@zuster.org> Lift InitHeaderSearch::AddEnvVarPaths logic higher.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86337 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5c5758bb0a4ec0f572cd20249277736da5715003 07-Nov-2009 Daniel Dunbar <daniel@zuster.org> Formatting fixes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86336 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
40d1bb6383c14d5f8249d0640e8088a91b694c66 05-Nov-2009 John Thompson <John.Thompson.JTSoftware@gmail.com> Eliminate tabls

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86183 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5114ecab149ab91d13d3f7fd165dbe0839c1f2e8 05-Nov-2009 Sebastian Redl <sebastian.redl@getdesigned.at> Add Ubuntu 9.10 libstdc++ install location.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86142 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
5d7a188cbc66d0af5aa3c135942a9e4aa7cb69f9 30-Oct-2009 Benjamin Kramer <benny.kra@googlemail.com> Add C++ include paths for Exherbo. Patch by Daniel Mierswa!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
e4b255c80a786c6f16d3f0362ecb7e1b1e959f63 27-Oct-2009 Rafael Espindola <rafael.espindola@gmail.com> Split AddDefaultSystemIncludePaths into C, C++ and framework specific functions.

The user visible changes are:

*) Frameworks are only searched on OS X
*) The Cygwin c++ headers are now marked as c++ aware. I am almost
sure that not marking them was a bug.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
aa546e2d1111cf3ff2cf4db721f587f3a9d3f5e1 18-Oct-2009 Nuno Lopes <nunoplopes@sapo.pt> add gentoo x86 2009.1 (gcc 4.3.4) include paths

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84371 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
f6dc5aca85ccd4557c3b62b6a59e26ce3b45205f 17-Oct-2009 Daniel Dunbar <daniel@zuster.org> Add Ubuntu 9.04 C++ search path.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84301 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
7adf94906e23eae295a006659c55eab9ffcf8b37 15-Oct-2009 Edward O'Callaghan <eocallaghan@auroraux.org> AuroraUX toolchain fixes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84176 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
31b63beefa058aa42a12a1c2b72b43a4ba21f7f1 14-Oct-2009 Rafael Espindola <rafael.espindola@gmail.com> Add support for having different c++ search dirs with -m32 and -m64. So far
this is only used in darwin10, 64 bit ubuntu 9.10 and 64 bit openSUSE 11.1.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84115 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
d3f88343af2dec3459493fafa22532317321eaf0 13-Oct-2009 John Thompson <John.Thompson.JTSoftware@gmail.com> Fixes pth.c on Windows.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84007 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
620d57a293143e3f07d6e4f5ba50020a80f45564 12-Oct-2009 Mike Stump <mrs@apple.com> Fixup windows include paths. Patch by John Thompson.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83898 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ff267205cd6b0114a5e48bd2ae2a65555db5158a 12-Oct-2009 Edward O'Callaghan <eocallaghan@auroraux.org> Typo in AddGnuCPlusPlusIncludePaths.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83847 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ec05766fe525a8f81c7dc96ddbdc874814a14b2c 09-Oct-2009 Mike Stump <mrs@apple.com> Efficiency refinements.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
e85c74d52cdc3210f6d9c6f8ba0cc3d8060f0bba 09-Oct-2009 Mike Stump <mrs@apple.com> Push all the way out to 80.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83664 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
38ee4e07633f1548f6b703e74ac7ad2208059d39 09-Oct-2009 Axel Naumann <Axel.Naumann@cern.ch> Passing const Triple& is sufficient for AddDefaultSystemIncludePaths()

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
fb16c0a6d164faa697e57ce399034dd4cea2f490 09-Oct-2009 Mike Stump <mrs@apple.com> Add a refactor pointer...


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83599 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
43d8176d2e8e304b2d419fb0fe139cc07af80dea 09-Oct-2009 Mike Stump <mrs@apple.com> Set up include paths for VC++ and Cygwin headers, along with the
existing MinGW headers, plus the newer 4.4.0 version. Patch by John
Thompson.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83594 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
2e9f652d53346bf7e64c8a12a9ff06b004a3e489 06-Oct-2009 Rafael Espindola <rafael.espindola@gmail.com> Refactor the c++ include path a bit.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83357 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
1eb4433ac451dc16f4133a88af2d002ac26c58ef 09-Sep-2009 Mike Stump <mrs@apple.com> Remove tabs, and whitespace cleanups.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
458fb10ef5ba2d7b375c6c64095c1458af0a5be3 05-Sep-2009 Benjamin Kramer <benny.kra@googlemail.com> Replace some instances of std::string with StringRefs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81079 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
d57a7ef9252964bc6c8471451d7bd395b0520cb8 24-Aug-2009 Chris Lattner <sabre@nondot.org> API changes to match llvm ToT.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79868 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
7765934ad7e157b5fcf925792a38e01b1edbcf8a 19-Aug-2009 Daniel Dunbar <daniel@zuster.org> Switch to SmallString::str from SmallString::c_str.
- Several FIXMEs due to non-Twinification of IRBuilder.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79455 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
03d6b6eba2bcc4eb4524fce28a2f8a018223bb01 15-Aug-2009 Eli Friedman <eli.friedman@gmail.com> Add an additional C++ hardcoded search path.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79075 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ef888a4d7f0fa1596807f702d09df88044dcaf41 07-Aug-2009 Chris Lattner <sabre@nondot.org> add support for opensuse 11.1/11.2 search paths, patch by Stefan Reinauer
and Carl-Daniel Hailfinger!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78368 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
2ef398c69809edf816a942e3265df32983a87985 01-Aug-2009 Eli Friedman <eli.friedman@gmail.com> Additional AuroraUX header path.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77811 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
868d01660de7fa9f3475b49d58e8a6a8067cb4d2 01-Aug-2009 Eli Friedman <eli.friedman@gmail.com> Add temp C++ include path for AuroraUX; patch by Edward O'Callaghan.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
ec9fd769d0bf3fe8b20790f5c34e9484da006eac 26-Jul-2009 Nuno Lopes <nunoplopes@sapo.pt> add gentoo 2009.0 g++ header locations

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77158 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
4d374d4a4832a01d5d3b75c59cb1567e60df41e7 01-Jul-2009 Sebastian Redl <sebastian.redl@getdesigned.at> Add header search path for Gentoo stable, x86_64 version.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74626 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
15e92322a77c6b6f03da76f0cecd598b5ccdf877 17-Jun-2009 Douglas Gregor <dgregor@apple.com> Search path for 64-bit Ubuntu Linux, from Anders Johnsen

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
3daed52a57d03765223021f5f921bdc280c8f3cc 02-Mar-2009 Chris Lattner <sabre@nondot.org> improve compatibility with GCC 4.4, patch by Michel Salim (PR3697)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65884 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp
e1bd4e6d7c5b13462f83245865f7d9e9b6ea8486 02-Mar-2009 Daniel Dunbar <daniel@zuster.org> Rename lib/Driver (etc) to lib/Frontend in prep for the *actual*
driver taking lib/Driver.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65811 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Frontend/InitHeaderSearch.cpp