Lines Matching refs:HSOpts
88 const HeaderSearchOptions &HSOpts);
93 const HeaderSearchOptions &HSOpts);
99 const HeaderSearchOptions &HSOpts);
208 const HeaderSearchOptions &HSOpts) { in AddDefaultCIncludePaths() argument
211 if (HSOpts.UseStandardSystemIncludes) { in AddDefaultCIncludePaths()
234 if (HSOpts.UseBuiltinIncludes) { in AddDefaultCIncludePaths()
237 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
244 if (!HSOpts.UseStandardSystemIncludes) in AddDefaultCIncludePaths()
263 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
339 SmallString<128> P = StringRef(HSOpts.ResourceDir); in AddDefaultCIncludePaths()
355 AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple, const HeaderSearchOptions &HSOpts) { in AddDefaultCPlusPlusIncludePaths() argument
436 const HeaderSearchOptions &HSOpts) { in AddDefaultIncludePaths() argument
455 if (Lang.CPlusPlus && HSOpts.UseStandardCXXIncludes && in AddDefaultIncludePaths()
456 HSOpts.UseStandardSystemIncludes) { in AddDefaultIncludePaths()
457 if (HSOpts.UseLibcxx) { in AddDefaultIncludePaths()
461 if (!HSOpts.ResourceDir.empty()) { in AddDefaultIncludePaths()
463 StringRef NoVer = llvm::sys::path::parent_path(HSOpts.ResourceDir); in AddDefaultIncludePaths()
476 AddDefaultCPlusPlusIncludePaths(triple, HSOpts); in AddDefaultIncludePaths()
480 AddDefaultCIncludePaths(triple, HSOpts); in AddDefaultIncludePaths()
483 if (HSOpts.UseStandardSystemIncludes) { in AddDefaultIncludePaths()
646 const HeaderSearchOptions &HSOpts, in ApplyHeaderSearchOptions() argument
649 InitHeaderSearch Init(HS, HSOpts.Verbose, HSOpts.Sysroot); in ApplyHeaderSearchOptions()
652 for (unsigned i = 0, e = HSOpts.UserEntries.size(); i != e; ++i) { in ApplyHeaderSearchOptions()
653 const HeaderSearchOptions::Entry &E = HSOpts.UserEntries[i]; in ApplyHeaderSearchOptions()
661 Init.AddDefaultIncludePaths(Lang, Triple, HSOpts); in ApplyHeaderSearchOptions()
663 for (unsigned i = 0, e = HSOpts.SystemHeaderPrefixes.size(); i != e; ++i) in ApplyHeaderSearchOptions()
664 Init.AddSystemHeaderPrefix(HSOpts.SystemHeaderPrefixes[i].Prefix, in ApplyHeaderSearchOptions()
665 HSOpts.SystemHeaderPrefixes[i].IsSystemHeader); in ApplyHeaderSearchOptions()
667 if (HSOpts.UseBuiltinIncludes) { in ApplyHeaderSearchOptions()
669 SmallString<128> P = StringRef(HSOpts.ResourceDir); in ApplyHeaderSearchOptions()