Lines Matching refs:DriverArgs
184 void MinGW::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
186 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
189 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
192 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
195 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
198 if (GetRuntimeLibType(DriverArgs) == ToolChain::RLT_Libgcc) { in AddClangSystemIncludeArgs()
201 addSystemInclude(DriverArgs, CC1Args, IncludeDir.c_str()); in AddClangSystemIncludeArgs()
204 addSystemInclude(DriverArgs, CC1Args, in AddClangSystemIncludeArgs()
206 addSystemInclude(DriverArgs, CC1Args, IncludeDir.c_str()); in AddClangSystemIncludeArgs()
208 addSystemInclude(DriverArgs, CC1Args, in AddClangSystemIncludeArgs()
210 addSystemInclude(DriverArgs, CC1Args, Base + "include"); in AddClangSystemIncludeArgs()
213 void MinGW::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
215 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
216 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
219 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
221 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
237 addSystemInclude(DriverArgs, CC1Args, CppIncludeBase); in AddClangCXXStdlibIncludeArgs()
239 addSystemInclude(DriverArgs, CC1Args, CppIncludeBase + Arch); in AddClangCXXStdlibIncludeArgs()
240 addSystemInclude(DriverArgs, CC1Args, CppIncludeBase + "backward"); in AddClangCXXStdlibIncludeArgs()