reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
981 CheckPreprocessingOptions(D, Args); 983 Args.AddLastArg(CmdArgs, options::OPT_C); 984 Args.AddLastArg(CmdArgs, options::OPT_CC); 987 Arg *ArgM = Args.getLastArg(options::OPT_MM); 989 ArgM = Args.getLastArg(options::OPT_M); 990 Arg *ArgMD = Args.getLastArg(options::OPT_MMD); 992 ArgMD = Args.getLastArg(options::OPT_MD); 1003 if (Arg *MF = Args.getLastArg(options::OPT_MF)) { 1011 DepFile = getDependencyFileName(Args, Inputs); 1018 for (const Arg *A : Args.filtered(options::OPT_MT, options::OPT_MQ)) { 1022 A->render(Args, CmdArgs); 1027 CmdArgs.push_back(Args.MakeArgString(Quoted)); 1037 Arg *OutputOpt = Args.getLastArg(options::OPT_o); 1046 DepTarget = Args.MakeArgString(llvm::sys::path::filename(P)); 1052 CmdArgs.push_back(Args.MakeArgString(Quoted)); 1059 !Args.hasArg(options::OPT_fno_module_file_deps)) || 1060 Args.hasArg(options::OPT_fmodule_file_deps)) 1064 if (Args.hasArg(options::OPT_MG)) { 1071 Args.AddLastArg(CmdArgs, options::OPT_MP); 1072 Args.AddLastArg(CmdArgs, options::OPT_MV); 1079 getToolChain().AddCudaIncludeArgs(Args, CmdArgs); 1085 if (!Args.hasArg(options::OPT_nobuiltininc)) { 1092 CmdArgs.push_back(Args.MakeArgString(P)); 1106 const Arg *YcArg = Args.getLastArg(options::OPT__SLASH_Yc); 1107 const Arg *YuArg = Args.getLastArg(options::OPT__SLASH_Yu); 1110 CmdArgs.push_back(Args.MakeArgString("-building-pch-with-obj")); 1116 CmdArgs.push_back(Args.MakeArgString(D.GetClPchPath( 1123 CmdArgs.push_back(Args.MakeArgString( 1127 Args.MakeArgString(Twine("-pch-through-header=") + ThroughHeader)); 1133 for (const Arg *A : Args.filtered(options::OPT_clang_i_Group)) { 1159 CmdArgs.push_back(Args.MakeArgString(P)); 1164 << A->getAsString(Args); 1181 A->render(Args, CmdArgs); 1184 Args.AddAllArgs(CmdArgs, 1194 Args.AddAllArgValues(CmdArgs, options::OPT_Wp_COMMA, 1198 if (Arg *A = Args.getLastArg(options::OPT_I_)) 1199 D.Diag(diag::err_drv_I_dash_not_supported) << A->getAsString(Args); 1205 if (!Args.hasArg(options::OPT_isysroot)) { 1216 addDirectoryList(Args, CmdArgs, "-I", "CPATH"); 1218 addDirectoryList(Args, CmdArgs, "-c-isystem", "C_INCLUDE_PATH"); 1220 addDirectoryList(Args, CmdArgs, "-cxx-isystem", "CPLUS_INCLUDE_PATH"); 1222 addDirectoryList(Args, CmdArgs, "-objc-isystem", "OBJC_INCLUDE_PATH"); 1224 addDirectoryList(Args, CmdArgs, "-objcxx-isystem", "OBJCPLUS_INCLUDE_PATH"); 1232 bool HasStdlibxxIsystem = Args.hasArg(options::OPT_stdlibxx_isystem); 1235 [&Args, &CmdArgs, HasStdlibxxIsystem](const ToolChain &TC) { 1236 HasStdlibxxIsystem ? TC.AddClangCXXStdlibIsystemArgs(Args, CmdArgs) 1237 : TC.AddClangCXXStdlibIncludeArgs(Args, CmdArgs); 1244 [&Args, &CmdArgs](const ToolChain &TC) { 1245 TC.AddClangSystemIncludeArgs(Args, CmdArgs); 1249 getToolChain().AddIAMCUIncludeArgs(Args, CmdArgs);