Lines Matching refs:HSOpts

92                                const HeaderSearchOptions &HSOpts);
97 const HeaderSearchOptions &HSOpts);
103 const HeaderSearchOptions &HSOpts);
225 const HeaderSearchOptions &HSOpts) { in AddDefaultCIncludePaths() argument
228 if (HSOpts.UseStandardSystemIncludes) { in AddDefaultCIncludePaths()
246 if (HSOpts.UseBuiltinIncludes) { in AddDefaultCIncludePaths()
249 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
256 if (!HSOpts.UseStandardSystemIncludes) in AddDefaultCIncludePaths()
277 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
328 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
333 P.resize(HSOpts.ResourceDir.size()); in AddDefaultCIncludePaths()
339 P.resize(HSOpts.ResourceDir.size()); in AddDefaultCIncludePaths()
365 AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple, const HeaderSearchOptions &HSOpts) { in AddDefaultCPlusPlusIncludePaths() argument
424 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.7.0"); in AddDefaultCPlusPlusIncludePaths()
425 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.7.1"); in AddDefaultCPlusPlusIncludePaths()
426 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.7.2"); in AddDefaultCPlusPlusIncludePaths()
427 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.7.3"); in AddDefaultCPlusPlusIncludePaths()
428 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.8.0"); in AddDefaultCPlusPlusIncludePaths()
429 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.8.1"); in AddDefaultCPlusPlusIncludePaths()
430 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.8.2"); in AddDefaultCPlusPlusIncludePaths()
472 const HeaderSearchOptions &HSOpts) { in AddDefaultIncludePaths() argument
492 if (Lang.CPlusPlus && HSOpts.UseStandardCXXIncludes && in AddDefaultIncludePaths()
493 HSOpts.UseStandardSystemIncludes) { in AddDefaultIncludePaths()
494 if (HSOpts.UseLibcxx) { in AddDefaultIncludePaths()
498 if (!HSOpts.ResourceDir.empty()) { in AddDefaultIncludePaths()
500 StringRef NoVer = llvm::sys::path::parent_path(HSOpts.ResourceDir); in AddDefaultIncludePaths()
518 AddDefaultCPlusPlusIncludePaths(triple, HSOpts); in AddDefaultIncludePaths()
522 AddDefaultCIncludePaths(triple, HSOpts); in AddDefaultIncludePaths()
525 if (HSOpts.UseStandardSystemIncludes) { in AddDefaultIncludePaths()
694 const HeaderSearchOptions &HSOpts, in ApplyHeaderSearchOptions() argument
697 InitHeaderSearch Init(HS, HSOpts.Verbose, HSOpts.Sysroot); in ApplyHeaderSearchOptions()
700 for (unsigned i = 0, e = HSOpts.UserEntries.size(); i != e; ++i) { in ApplyHeaderSearchOptions()
701 const HeaderSearchOptions::Entry &E = HSOpts.UserEntries[i]; in ApplyHeaderSearchOptions()
709 Init.AddDefaultIncludePaths(Lang, Triple, HSOpts); in ApplyHeaderSearchOptions()
711 for (unsigned i = 0, e = HSOpts.SystemHeaderPrefixes.size(); i != e; ++i) in ApplyHeaderSearchOptions()
712 Init.AddSystemHeaderPrefix(HSOpts.SystemHeaderPrefixes[i].Prefix, in ApplyHeaderSearchOptions()
713 HSOpts.SystemHeaderPrefixes[i].IsSystemHeader); in ApplyHeaderSearchOptions()
715 if (HSOpts.UseBuiltinIncludes) { in ApplyHeaderSearchOptions()
717 SmallString<128> P = StringRef(HSOpts.ResourceDir); in ApplyHeaderSearchOptions()