Lines Matching refs:SearchList
494 static unsigned RemoveDuplicates(std::vector<DirectoryLookup> &SearchList, in RemoveDuplicates() argument
500 for (unsigned i = First; i != SearchList.size(); ++i) { in RemoveDuplicates()
503 const DirectoryLookup &CurEntry = SearchList[i]; in RemoveDuplicates()
533 const DirectoryLookup &SearchEntry = SearchList[FirstDir]; in RemoveDuplicates()
555 if (SearchList[FirstDir].getDirCharacteristic() == SrcMgr::C_User) in RemoveDuplicates()
571 SearchList.erase(SearchList.begin()+DirToRemove); in RemoveDuplicates()
580 std::vector<DirectoryLookup> SearchList; in Realize() local
581 SearchList.reserve(IncludePath.size()); in Realize()
586 SearchList.push_back(Include.second); in Realize()
589 RemoveDuplicates(SearchList, 0, Verbose); in Realize()
590 unsigned NumQuoted = SearchList.size(); in Realize()
594 SearchList.push_back(Include.second); in Realize()
596 RemoveDuplicates(SearchList, NumQuoted, Verbose); in Realize()
597 unsigned NumAngled = SearchList.size(); in Realize()
606 SearchList.push_back(Include.second); in Realize()
610 SearchList.push_back(Include.second); in Realize()
615 unsigned NonSystemRemoved = RemoveDuplicates(SearchList, NumQuoted, Verbose); in Realize()
619 Headers.SetSearchPaths(SearchList, NumQuoted, NumAngled, DontSearchCurDir); in Realize()
626 for (unsigned i = 0, e = SearchList.size(); i != e; ++i) { in Realize()
629 const char *Name = SearchList[i].getName(); in Realize()
631 if (SearchList[i].isNormalDir()) in Realize()
633 else if (SearchList[i].isFramework()) in Realize()
636 assert(SearchList[i].isHeaderMap() && "Unknown DirectoryLookup"); in Realize()