diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-01-25 01:50:28 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-01-25 01:50:28 +0000 |
commit | ae4feb62e075190c8754c778a24f62f2e36e583f (patch) | |
tree | 4e6cf909b56f0c8821859ce1ea9f370892008e18 /clang/lib/Frontend | |
parent | f0add23a0e8ac0ee796cc69a28dcad52c563d97f (diff) | |
download | bcm5719-llvm-ae4feb62e075190c8754c778a24f62f2e36e583f.tar.gz bcm5719-llvm-ae4feb62e075190c8754c778a24f62f2e36e583f.zip |
[Lex] Remove DirectoryLookup.UserSpecified, which is unused.
llvm-svn: 173409
Diffstat (limited to 'clang/lib/Frontend')
-rw-r--r-- | clang/lib/Frontend/InitHeaderSearch.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/lib/Frontend/InitHeaderSearch.cpp b/clang/lib/Frontend/InitHeaderSearch.cpp index 444d9f3c385..00a14914121 100644 --- a/clang/lib/Frontend/InitHeaderSearch.cpp +++ b/clang/lib/Frontend/InitHeaderSearch.cpp @@ -141,8 +141,8 @@ void InitHeaderSearch::AddPath(const Twine &Path, // If the directory exists, add it. if (const DirectoryEntry *DE = FM.getDirectory(MappedPathStr)) { - IncludePath.push_back(std::make_pair(Group, DirectoryLookup(DE, Type, - isUserSupplied, isFramework))); + IncludePath.push_back( + std::make_pair(Group, DirectoryLookup(DE, Type, isFramework))); return; } @@ -152,8 +152,9 @@ void InitHeaderSearch::AddPath(const Twine &Path, if (const FileEntry *FE = FM.getFile(MappedPathStr)) { if (const HeaderMap *HM = Headers.CreateHeaderMap(FE)) { // It is a headermap, add it to the search path. - IncludePath.push_back(std::make_pair(Group, DirectoryLookup(HM, Type, - isUserSupplied, Group == IndexHeaderMap))); + IncludePath.push_back( + std::make_pair(Group, + DirectoryLookup(HM, Type, Group == IndexHeaderMap))); return; } } |