aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2010-06-09 19:15:58 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2010-06-09 19:15:58 +0000
commite8e8a542a3433c8d7b14387fc540296d148fcf29 (patch)
tree9302c570042f6a76c853f1e972f6c8e7bc87ed12 /contrib
parent35adf9fc8dda53854db71dff6896427cc345a1b0 (diff)
downloadsrc-e8e8a542a3433c8d7b14387fc540296d148fcf29.tar.gz
src-e8e8a542a3433c8d7b14387fc540296d148fcf29.zip
Notes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/contrib/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp b/contrib/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp
index d735f622e485..9490705a24e5 100644
--- a/contrib/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp
+++ b/contrib/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp
@@ -871,16 +871,6 @@ void clang::ApplyHeaderSearchOptions(HeaderSearch &HS,
else
Init.AddDelimitedPaths(HSOpts.CEnvIncPath);
-#if 0 /* We place built-in includes in /usr/include. */
- if (HSOpts.UseBuiltinIncludes) {
- // Ignore the sys root, we *always* look for clang headers relative to
- // supplied path.
- llvm::sys::Path P(HSOpts.ResourceDir);
- P.appendComponent("include");
- Init.AddPath(P.str(), System, false, false, false, /*IgnoreSysRoot=*/ true);
- }
-#endif
-
if (HSOpts.UseStandardIncludes)
Init.AddDefaultSystemIncludePaths(Lang, Triple, HSOpts);