]> granicus.if.org Git - clang/commit
Make InitHeaderSearch::AddPath and HeaderSearchOptions::AddPath consistent
authorBob Wilson <bob.wilson@apple.com>
Tue, 21 Jun 2011 21:53:08 +0000 (21:53 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 21 Jun 2011 21:53:08 +0000 (21:53 +0000)
commit5dd45f13dc4463f0c18b923fe6795ce55103301d
treef380956098e7c5745f29a1dc35f0188dad82ce7a
parenta68e1c398a0ab9c24e82090fbb26c755dbc62c3c
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
include/clang/Frontend/HeaderSearchOptions.h
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/InitHeaderSearch.cpp