diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-06-21 21:53:08 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-06-21 21:53:08 +0000 |
commit | 5dd45f13dc4463f0c18b923fe6795ce55103301d (patch) | |
tree | f380956098e7c5745f29a1dc35f0188dad82ce7a /lib/Frontend/InitHeaderSearch.cpp | |
parent | a68e1c398a0ab9c24e82090fbb26c755dbc62c3c (diff) |
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
Diffstat (limited to 'lib/Frontend/InitHeaderSearch.cpp')
-rw-r--r-- | lib/Frontend/InitHeaderSearch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/InitHeaderSearch.cpp b/lib/Frontend/InitHeaderSearch.cpp index 238ff7fdc8..40036fe419 100644 --- a/lib/Frontend/InitHeaderSearch.cpp +++ b/lib/Frontend/InitHeaderSearch.cpp @@ -1094,7 +1094,7 @@ void clang::ApplyHeaderSearchOptions(HeaderSearch &HS, for (unsigned i = 0, e = HSOpts.UserEntries.size(); i != e; ++i) { const HeaderSearchOptions::Entry &E = HSOpts.UserEntries[i]; Init.AddPath(E.Path, E.Group, false, E.IsUserSupplied, E.IsFramework, - !E.IsSysRootRelative); + E.IgnoreSysRoot); } // Add entries from CPATH and friends. |