aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-01-30 00:34:26 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-01-30 00:34:26 +0000
commit59fd63581d6d572f23e82e81a50e0b940c8d1089 (patch)
treebefdd6469c483fae1dfb8ab7c1aa235a584de445 /lib/Frontend/CompilerInvocation.cpp
parente87edbd0561960a14d5d9b927dd47d4e4bf9196c (diff)
[Frontend] Remove HeaderSearchOptions::Entry::IsInternal, which is unused.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--lib/Frontend/CompilerInvocation.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp
index 49f89d4c79..f49f30d878 100644
--- a/lib/Frontend/CompilerInvocation.cpp
+++ b/lib/Frontend/CompilerInvocation.cpp
@@ -889,8 +889,7 @@ static void ParseHeaderSearchArgs(HeaderSearchOptions &Opts, ArgList &Args) {
frontend::IncludeDirGroup Group = frontend::System;
if ((*I)->getOption().matches(OPT_internal_externc_isystem))
Group = frontend::ExternCSystem;
- Opts.AddPath((*I)->getValue(), Group, false, /*IgnoreSysRoot=*/true,
- /*IsInternal=*/true);
+ Opts.AddPath((*I)->getValue(), Group, false, true);
}
// Add the path prefixes which are implicitly treated as being system headers.