diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-01-25 01:50:47 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-01-25 01:50:47 +0000 |
commit | eab6652b7e417c8e46b21c7d340f3a7d41492d6e (patch) | |
tree | 3e2f104740f78d0e0fc07f3521c55043b1c3a570 /include/clang/Lex | |
parent | 5c4e34c16782927ecfeb5f005d65b68e77f5435a (diff) |
[Frontend] Remove another IsUserSpecified member variable that is now unused.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex')
-rw-r--r-- | include/clang/Lex/HeaderSearchOptions.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/include/clang/Lex/HeaderSearchOptions.h b/include/clang/Lex/HeaderSearchOptions.h index 1d7534e88d..52885635e4 100644 --- a/include/clang/Lex/HeaderSearchOptions.h +++ b/include/clang/Lex/HeaderSearchOptions.h @@ -43,7 +43,6 @@ public: struct Entry { std::string Path; frontend::IncludeDirGroup Group; - unsigned IsUserSupplied : 1; unsigned IsFramework : 1; /// IgnoreSysRoot - This is false if an absolute path should be treated @@ -55,20 +54,18 @@ public: /// /// This typically indicates that users didn't directly provide it, but /// instead it was provided by a compatibility layer for a particular - /// system. This isn't redundant with IsUserSupplied (even though perhaps - /// it should be) because that is false for user provided '-iwithprefix' - /// header search entries. + /// system. unsigned IsInternal : 1; /// \brief True if this entry's headers should be wrapped in extern "C". unsigned ImplicitExternC : 1; Entry(StringRef path, frontend::IncludeDirGroup group, - bool isUserSupplied, bool isFramework, bool ignoreSysRoot, - bool isInternal, bool implicitExternC) - : Path(path), Group(group), IsUserSupplied(isUserSupplied), - IsFramework(isFramework), IgnoreSysRoot(ignoreSysRoot), - IsInternal(isInternal), ImplicitExternC(implicitExternC) {} + bool isFramework, bool ignoreSysRoot, bool isInternal, + bool implicitExternC) + : Path(path), Group(group), IsFramework(isFramework), + IgnoreSysRoot(ignoreSysRoot), IsInternal(isInternal), + ImplicitExternC(implicitExternC) {} }; struct SystemHeaderPrefix { @@ -129,9 +126,9 @@ public: /// AddPath - Add the \p Path path to the specified \p Group list. void AddPath(StringRef Path, frontend::IncludeDirGroup Group, - bool IsUserSupplied, bool IsFramework, bool IgnoreSysRoot, + bool IsFramework, bool IgnoreSysRoot, bool IsInternal = false, bool ImplicitExternC = false) { - UserEntries.push_back(Entry(Path, Group, IsUserSupplied, IsFramework, + UserEntries.push_back(Entry(Path, Group, IsFramework, IgnoreSysRoot, IsInternal, ImplicitExternC)); } |