summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2010-06-09 19:15:58 +0000
committerrdivacky <rdivacky@FreeBSD.org>2010-06-09 19:15:58 +0000
commitaad55b23d0526ba56425551b7700ea1fbf2b1353 (patch)
tree9302c570042f6a76c853f1e972f6c8e7bc87ed12
parent48d2768fb6b54977a62ef068d86b6cbe19524edd (diff)
downloadFreeBSD-src-aad55b23d0526ba56425551b7700ea1fbf2b1353.zip
FreeBSD-src-aad55b23d0526ba56425551b7700ea1fbf2b1353.tar.gz
Remove the commented out piece that slipped as a mismerge.
Approved by: ed (mentor)
-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 d735f62..9490705 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);
OpenPOWER on IntegriCloud