Lines Matching refs:DriverArgs
51 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
56 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
59 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs()
60 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
63 addSystemInclude(DriverArgs, CC1Args, ResourceDir); in AddClangSystemIncludeArgs()
65 for (const auto &P : DriverArgs.getAllArgValues(options::OPT_isystem_after)) in AddClangSystemIncludeArgs()
66 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs()
67 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()
71 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
76 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
77 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
80 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
82 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++/v1"); in AddClangCXXStdlibIncludeArgs()
86 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++"); in AddClangCXXStdlibIncludeArgs()
87 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
89 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
95 AddCXXStdlibLibArgs(const llvm::opt::ArgList &DriverArgs, in AddCXXStdlibLibArgs() argument
97 switch (GetCXXStdlibType(DriverArgs)) { in AddCXXStdlibLibArgs()