Lines Matching refs:SearchList
470 static unsigned RemoveDuplicates(std::vector<DirectoryLookup> &SearchList, in RemoveDuplicates() argument
476 for (unsigned i = First; i != SearchList.size(); ++i) { in RemoveDuplicates()
479 const DirectoryLookup &CurEntry = SearchList[i]; in RemoveDuplicates()
509 const DirectoryLookup &SearchEntry = SearchList[FirstDir]; in RemoveDuplicates()
531 if (SearchList[FirstDir].getDirCharacteristic() == SrcMgr::C_User) in RemoveDuplicates()
547 SearchList.erase(SearchList.begin()+DirToRemove); in RemoveDuplicates()
556 std::vector<DirectoryLookup> SearchList; in Realize() local
557 SearchList.reserve(IncludePath.size()); in Realize()
562 SearchList.push_back(Include.second); in Realize()
565 RemoveDuplicates(SearchList, 0, Verbose); in Realize()
566 unsigned NumQuoted = SearchList.size(); in Realize()
570 SearchList.push_back(Include.second); in Realize()
572 RemoveDuplicates(SearchList, NumQuoted, Verbose); in Realize()
573 unsigned NumAngled = SearchList.size(); in Realize()
582 SearchList.push_back(Include.second); in Realize()
586 SearchList.push_back(Include.second); in Realize()
591 unsigned NonSystemRemoved = RemoveDuplicates(SearchList, NumQuoted, Verbose); in Realize()
595 Headers.SetSearchPaths(SearchList, NumQuoted, NumAngled, DontSearchCurDir); in Realize()
602 for (unsigned i = 0, e = SearchList.size(); i != e; ++i) { in Realize()
605 StringRef Name = SearchList[i].getName(); in Realize()
607 if (SearchList[i].isNormalDir()) in Realize()
609 else if (SearchList[i].isFramework()) in Realize()
612 assert(SearchList[i].isHeaderMap() && "Unknown DirectoryLookup"); in Realize()