Lines Matching refs:SearchList
495 static unsigned RemoveDuplicates(std::vector<DirectoryLookup> &SearchList, in RemoveDuplicates() argument
501 for (unsigned i = First; i != SearchList.size(); ++i) { in RemoveDuplicates()
504 const DirectoryLookup &CurEntry = SearchList[i]; in RemoveDuplicates()
534 const DirectoryLookup &SearchEntry = SearchList[FirstDir]; in RemoveDuplicates()
556 if (SearchList[FirstDir].getDirCharacteristic() == SrcMgr::C_User) in RemoveDuplicates()
572 SearchList.erase(SearchList.begin()+DirToRemove); in RemoveDuplicates()
581 std::vector<DirectoryLookup> SearchList; in Realize() local
582 SearchList.reserve(IncludePath.size()); in Realize()
587 SearchList.push_back(Include.second); in Realize()
590 RemoveDuplicates(SearchList, 0, Verbose); in Realize()
591 unsigned NumQuoted = SearchList.size(); in Realize()
595 SearchList.push_back(Include.second); in Realize()
597 RemoveDuplicates(SearchList, NumQuoted, Verbose); in Realize()
598 unsigned NumAngled = SearchList.size(); in Realize()
607 SearchList.push_back(Include.second); in Realize()
611 SearchList.push_back(Include.second); in Realize()
616 unsigned NonSystemRemoved = RemoveDuplicates(SearchList, NumQuoted, Verbose); in Realize()
620 Headers.SetSearchPaths(SearchList, NumQuoted, NumAngled, DontSearchCurDir); in Realize()
627 for (unsigned i = 0, e = SearchList.size(); i != e; ++i) { in Realize()
630 const char *Name = SearchList[i].getName(); in Realize()
632 if (SearchList[i].isNormalDir()) in Realize()
634 else if (SearchList[i].isFramework()) in Realize()
637 assert(SearchList[i].isHeaderMap() && "Unknown DirectoryLookup"); in Realize()