Lines Matching refs:StringRef
50 InitHeaderSearch(HeaderSearch &HS, bool verbose, StringRef sysroot)
67 void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) {
74 bool AddGnuCPlusPlusIncludePaths(StringRef Base, StringRef ArchDir,
75 StringRef Dir32, StringRef Dir64,
80 void AddMinGWCPlusPlusIncludePaths(StringRef Base,
81 StringRef Arch,
82 StringRef Version);
107 static bool CanPrefixSysroot(StringRef Path) {
121 StringRef MappedPathStr = Path.toStringRef(MappedPathStorage);
136 StringRef MappedPathStr = Path.toStringRef(MappedPathStorage);
182 bool InitHeaderSearch::AddGnuCPlusPlusIncludePaths(StringRef Base,
183 StringRef ArchDir,
184 StringRef Dir32,
185 StringRef Dir64,
203 void InitHeaderSearch::AddMinGWCPlusPlusIncludePaths(StringRef Base,
204 StringRef Arch,
205 StringRef Version) {
249 SmallString<128> P = StringRef(HSOpts.ResourceDir);
260 StringRef CIncludeDirs(C_INCLUDE_DIRS);
262 SmallVector<StringRef, 5> dirs;
264 for (StringRef dir : dirs)
278 SmallString<128> P = StringRef(HSOpts.ResourceDir);
355 SmallString<128> P = StringRef(HSOpts.ResourceDir);
605 StringRef Name = SearchList[i].getName();
645 SmallString<128> P = StringRef(HSOpts.ResourceDir);