aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/HeaderSearchOptions.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-17 05:04:15 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-17 05:04:15 +0000
commit1b483e70ad3f670f6dd0bc62dbe0921a28195f24 (patch)
tree8dfc56f33dda74c8371717a0ce62443982d5cea5 /include/clang/Frontend/HeaderSearchOptions.h
parent9f853df0d3c25c646907a7b7ef22398370def00f (diff)
Remove unused IsCXXAware and IgnoreSysRoots option from HeaderSearchOptions::Entry.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/HeaderSearchOptions.h')
-rw-r--r--include/clang/Frontend/HeaderSearchOptions.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/include/clang/Frontend/HeaderSearchOptions.h b/include/clang/Frontend/HeaderSearchOptions.h
index 500663b82c..2edc7e1f4a 100644
--- a/include/clang/Frontend/HeaderSearchOptions.h
+++ b/include/clang/Frontend/HeaderSearchOptions.h
@@ -33,17 +33,13 @@ public:
struct Entry {
std::string Path;
frontend::IncludeDirGroup Group;
- unsigned IsCXXAware : 1;
unsigned IsUserSupplied : 1;
unsigned IsFramework : 1;
- unsigned IgnoreSysRoot : 1;
Entry(llvm::StringRef _Path, frontend::IncludeDirGroup _Group,
- bool _IsCXXAware, bool _IsUserSupplied, bool _IsFramework,
- bool _IgnoreSysRoot)
- : Path(_Path), Group(_Group), IsCXXAware(_IsCXXAware),
- IsUserSupplied(_IsUserSupplied), IsFramework(_IsFramework),
- IgnoreSysRoot(_IgnoreSysRoot) {}
+ bool _IsUserSupplied, bool _IsFramework)
+ : Path(_Path), Group(_Group), IsUserSupplied(_IsUserSupplied),
+ IsFramework(_IsFramework) {}
};
/// If non-empty, the directory to use as a "virtual system root" for include
@@ -81,10 +77,8 @@ public:
/// AddPath - Add the \arg Path path to the specified \arg Group list.
void AddPath(llvm::StringRef Path, frontend::IncludeDirGroup Group,
- bool IsCXXAware, bool IsUserSupplied,
- bool IsFramework, bool IgnoreSysRoot = false) {
- UserEntries.push_back(Entry(Path, Group, IsCXXAware, IsUserSupplied,
- IsFramework, IgnoreSysRoot));
+ bool IsUserSupplied, bool IsFramework) {
+ UserEntries.push_back(Entry(Path, Group, IsUserSupplied, IsFramework));
}
};