Lines Matching refs:HSOpts
91 const HeaderSearchOptions &HSOpts);
96 const HeaderSearchOptions &HSOpts);
102 const HeaderSearchOptions &HSOpts);
224 const HeaderSearchOptions &HSOpts) {
227 if (HSOpts.UseStandardSystemIncludes) {
243 if (HSOpts.UseBuiltinIncludes) {
246 llvm::sys::Path P(HSOpts.ResourceDir);
253 if (!HSOpts.UseStandardSystemIncludes)
314 llvm::sys::Path P(HSOpts.ResourceDir);
317 P = llvm::sys::Path(HSOpts.ResourceDir);
321 P = llvm::sys::Path(HSOpts.ResourceDir);
340 AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple, const HeaderSearchOptions &HSOpts) {
391 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.5.0");
392 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.5.1");
393 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.5.2");
394 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.5.3");
395 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.5.4");
396 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.6.0");
397 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.6.1");
398 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.6.2");
399 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.6.3");
400 AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.7.0");
451 const HeaderSearchOptions &HSOpts) {
465 if (Lang.CPlusPlus && HSOpts.UseStandardCXXIncludes &&
466 HSOpts.UseStandardSystemIncludes) {
467 if (HSOpts.UseLibcxx) {
471 llvm::sys::Path P(HSOpts.ResourceDir);
489 AddDefaultCPlusPlusIncludePaths(triple, HSOpts);
493 AddDefaultCIncludePaths(triple, HSOpts);
496 if (HSOpts.UseStandardSystemIncludes) {
665 const HeaderSearchOptions &HSOpts,
668 InitHeaderSearch Init(HS, HSOpts.Verbose, HSOpts.Sysroot);
671 for (unsigned i = 0, e = HSOpts.UserEntries.size(); i != e; ++i) {
672 const HeaderSearchOptions::Entry &E = HSOpts.UserEntries[i];
680 Init.AddDefaultIncludePaths(Lang, Triple, HSOpts);
682 for (unsigned i = 0, e = HSOpts.SystemHeaderPrefixes.size(); i != e; ++i)
683 Init.AddSystemHeaderPrefix(HSOpts.SystemHeaderPrefixes[i].Prefix,
684 HSOpts.SystemHeaderPrefixes[i].IsSystemHeader);
686 if (HSOpts.UseBuiltinIncludes) {
688 llvm::sys::Path P(HSOpts.ResourceDir);