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 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()
69 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
74 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
75 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
78 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
80 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++/v1"); in AddClangCXXStdlibIncludeArgs()
84 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++"); in AddClangCXXStdlibIncludeArgs()
85 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
87 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
93 AddCXXStdlibLibArgs(const llvm::opt::ArgList &DriverArgs, in AddCXXStdlibLibArgs() argument
95 switch (GetCXXStdlibType(DriverArgs)) { in AddCXXStdlibLibArgs()