reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Option/ArgList.h
  245     return getLastArg(Ids...) != nullptr;
  307     if (Arg *A = getLastArg(Ids...)) // Calls claim() on all Ids's Args.
lib/Option/ArgList.cpp
   74   if (Arg *A = getLastArg(Pos, Neg))
   81   if (Arg *A = getLastArg(Pos, PosAlias, Neg))
   87   if (Arg *A = getLastArg(Id))
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
  113       openFile(Args.getLastArg(OPT_d)->getValue());
  123   if (auto *Arg = Args.getLastArg(OPT_m))
  141   if (auto *Arg = Args.getLastArg(OPT_D))
  163   if (Machine == IMAGE_FILE_MACHINE_I386 && Args.getLastArg(OPT_k)) {
lib/ToolDrivers/llvm-lib/LibDriver.cpp
   64   if (auto *Arg = Args->getLastArg(OPT_out))
  308   if (auto *Arg = Args.getLastArg(OPT_machine)) {
tools/clang/lib/Driver/Driver.cpp
  272   if (CCCIsCPP() || (PhaseArg = DAL.getLastArg(options::OPT_E)) ||
  273       (PhaseArg = DAL.getLastArg(options::OPT__SLASH_EP)) ||
  274       (PhaseArg = DAL.getLastArg(options::OPT_M, options::OPT_MM)) ||
  275       (PhaseArg = DAL.getLastArg(options::OPT__SLASH_P))) {
  279   } else if ((PhaseArg = DAL.getLastArg(options::OPT__precompile))) {
  283   } else if ((PhaseArg = DAL.getLastArg(options::OPT_fsyntax_only)) ||
  284              (PhaseArg = DAL.getLastArg(options::OPT_print_supported_cpus)) ||
  285              (PhaseArg = DAL.getLastArg(options::OPT_module_file_info)) ||
  286              (PhaseArg = DAL.getLastArg(options::OPT_verify_pch)) ||
  287              (PhaseArg = DAL.getLastArg(options::OPT_rewrite_objc)) ||
  288              (PhaseArg = DAL.getLastArg(options::OPT_rewrite_legacy_objc)) ||
  289              (PhaseArg = DAL.getLastArg(options::OPT__migrate)) ||
  290              (PhaseArg = DAL.getLastArg(options::OPT__analyze)) ||
  291              (PhaseArg = DAL.getLastArg(options::OPT_emit_ast))) {
  295   } else if ((PhaseArg = DAL.getLastArg(options::OPT_emit_interface_stubs))) {
  299   } else if ((PhaseArg = DAL.getLastArg(options::OPT_S))) {
  303   } else if ((PhaseArg = DAL.getLastArg(options::OPT_c))) {
  426   if (const Arg *A = Args.getLastArg(options::OPT_target))
  447     if (Arg *A = Args.getLastArg(options::OPT_arch)) {
  455   if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian,
  474   Arg *A = Args.getLastArg(options::OPT_m64, options::OPT_mx32,
  522   A = Args.getLastArg(options::OPT_mabi_EQ);
  556   const Arg *A = Args.getLastArg(options::OPT_flto_EQ);
  576   const Arg *A = Args.getLastArg(options::OPT_fopenmp_EQ);
  659           C.getInputArgs().getLastArg(options::OPT_fopenmp_targets_EQ)) {
 1017   if (Arg *WD = Args.getLastArg(options::OPT_working_directory))
 1041   if (const Arg *A = Args.getLastArg(options::OPT_ccc_gcc_name))
 1057   if (const Arg *A = Args.getLastArg(options::OPT_target))
 1059   if (const Arg *A = Args.getLastArg(options::OPT_ccc_install_dir))
 1065   if (const Arg *A = Args.getLastArg(options::OPT__sysroot_EQ))
 1067   if (const Arg *A = Args.getLastArg(options::OPT__dyld_prefix_EQ))
 1070   if (const Arg *A = Args.getLastArg(options::OPT_resource_dir))
 1073   if (const Arg *A = Args.getLastArg(options::OPT_save_temps_EQ)) {
 1083   if (Arg *A = Args.getLastArg(options::OPT_fembed_bitcode_EQ)) {
 1543   if (Arg *A = C.getArgs().getLastArg(options::OPT_mthread_model)) {
 1737   if (Arg *A = C.getArgs().getLastArg(options::OPT_print_file_name_EQ)) {
 1742   if (Arg *A = C.getArgs().getLastArg(options::OPT_print_prog_name_EQ)) {
 1753   if (Arg *A = C.getArgs().getLastArg(options::OPT_autocomplete)) {
 1984     Arg *A = Args.getLastArg(options::OPT_g_Group);
 2500       Arg *PartialCompilationArg = Args.getLastArg(
 2509       EmitLLVM = Args.getLastArg(options::OPT_emit_llvm);
 2510       EmitAsm = Args.getLastArg(options::OPT_S);
 3221   Arg *YcArg = Args.getLastArg(options::OPT__SLASH_Yc);
 3222   Arg *YuArg = Args.getLastArg(options::OPT__SLASH_Yu);
 3287                (Args.getLastArg(options::OPT__SLASH_EP,
 3289                 Args.getLastArg(options::OPT_E) ||
 3290                 Args.getLastArg(options::OPT_M, options::OPT_MM)) &&
 3344   if (Arg *A = Args.getLastArg(options::OPT_Z_Joined))
 3348   if (Arg *A = Args.getLastArg(options::OPT__SLASH_Fo)) {
 3360   if (Arg *A = Args.getLastArg(options::OPT__SLASH_Fa)) {
 3372   if (Arg *A = Args.getLastArg(options::OPT__SLASH_o)) {
 3495   if (Arg *A = Args.getLastArg(options::OPT_print_supported_cpus)) {
 3560       if (Arg *A = Args.getLastArg(options::OPT_fmodule_name_EQ))
 3621   Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o);
 4277       if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o))
 4368     if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o))
 4377     if (Arg *A = C.getArgs().getLastArg(options::OPT__SLASH_Fi))
 4408     Arg *A = C.getArgs().getLastArg(options::OPT_fcrash_diagnostics_dir);
 4444             .getLastArg(options::OPT__SLASH_Fo, options::OPT__SLASH_o)
 4454             .getLastArg(options::OPT__SLASH_Fe, options::OPT__SLASH_o)
 4512     Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o);
 4677   if (Arg *FpArg = C.getArgs().getLastArg(options::OPT__SLASH_Fp)) {
 4688     if (Arg *YcArg = C.getArgs().getLastArg(options::OPT__SLASH_Yc))
tools/clang/lib/Driver/SanitizerArgs.cpp
  270   Arg *OptLevel = Args.getLastArg(options::OPT_O_Group);
  590             Args.getLastArg(options::OPT_fsanitize_memory_track_origins_EQ,
  747             Args.getLastArg(options::OPT_fsanitize_address_field_padding)) {
  757             Args.getLastArg(options::OPT__SLASH_MTd, options::OPT__SLASH_MT,
  817             Args.getLastArg(options::OPT_fsanitize_hwaddress_abi_EQ)) {
tools/clang/lib/Driver/ToolChain.cpp
   54   return Args.getLastArg(options::OPT_mkernel, options::OPT_fapple_kext,
  512   const Arg* A = Args.getLastArg(options::OPT_fuse_ld_EQ);
  603     if (Arg *A = Args.getLastArg(options::OPT_march_EQ)) {
  634     if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian,
  643     if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
  645     if (const Arg *A = Args.getLastArg(options::OPT_march_EQ))
  738   const Arg* A = Args.getLastArg(options::OPT_rtlib_EQ);
  757   const Arg *A = Args.getLastArg(options::OPT_unwindlib_EQ);
  783   const Arg *A = Args.getLastArg(options::OPT_stdlib_EQ);
  906         Args.getLastArg(options::OPT_ffast_math, options::OPT_fno_fast_math,
  973   const Arg *MSCVersion = Args.getLastArg(options::OPT_fmsc_version);
  975       Args.getLastArg(options::OPT_fms_compatibility_version);
tools/clang/lib/Driver/ToolChains/AMDGPU.cpp
   41   if (const Arg *dAbi = Args.getLastArg(options::OPT_mamdgpu_debugger_abi))
   44   if (Args.getLastArg(options::OPT_mwavefrontsize64)) {
   49   if (Args.getLastArg(options::OPT_mno_wavefrontsize64)) {
tools/clang/lib/Driver/ToolChains/Arch/AArch64.cpp
   35   if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) {
   48   if (Args.getLastArg(options::OPT_arch) || Triple.isOSDarwin())
  170   if ((A = Args.getLastArg(options::OPT_march_EQ)))
  172   else if ((A = Args.getLastArg(options::OPT_mcpu_EQ)))
  178   if (success && (A = Args.getLastArg(clang::driver::options::OPT_mtune_EQ)))
  181   else if (success && (A = Args.getLastArg(options::OPT_mcpu_EQ)))
  192   if (Args.getLastArg(options::OPT_mgeneral_regs_only)) {
  198   if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) {
  211   if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) {
  324   if (Arg *A = Args.getLastArg(options::OPT_mno_unaligned_access,
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
   38   if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ))
   40   if (const Arg *A = Args.getLastArg(options::OPT_march_EQ))
  140   if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) {
  166           Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float,
  341   const Arg *ArchArg = Args.getLastArg(options::OPT_march_EQ);
  342   const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ);
  391   const Arg *FPUArg = Args.getLastArg(options::OPT_mfpu_EQ);
  414   const Arg *HDivArg = Args.getLastArg(options::OPT_mhwdiv_EQ);
  475   if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) {
  515   if (Args.getLastArg(options::OPT_mcmse))
  521   if (Arg *A = Args.getLastArg(options::OPT_mlong_calls,
  535     if (Arg *A = Args.getLastArg(options::OPT_mexecute_only, options::OPT_mno_execute_only)) {
  540         else if (Arg *B = Args.getLastArg(options::OPT_mno_movt))
  545         else if (Arg *B = Args.getLastArg(options::OPT_mlong_calls, options::OPT_mno_long_calls)) {
  557   else if (Arg *A = Args.getLastArg(options::OPT_mno_unaligned_access,
tools/clang/lib/Driver/ToolChains/Arch/Mips.cpp
   59   if (Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ,
   63   if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) {
  156           Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float,
  231   Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC,
  248       Args.getLastArg(options::OPT_mabicalls, options::OPT_mno_abicalls);
  266   if (Arg *A = Args.getLastArg(options::OPT_mlong_calls,
  276   if (Arg *A = Args.getLastArg(options::OPT_mxgot, options::OPT_mno_xgot)) {
  291   if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) {
  312   if (Arg *A = Args.getLastArg(options::OPT_mabs_EQ)) {
  350   if (Arg *A = Args.getLastArg(options::OPT_mfp32, options::OPT_mfpxx,
  379   if (Arg *A = Args.getLastArg(options::OPT_mindirect_jump_EQ)) {
  383           Args.getLastArg(options::OPT_mmicromips, options::OPT_mno_micromips);
  384       Arg *C = Args.getLastArg(options::OPT_mips16, options::OPT_mno_mips16);
  435   Arg *A = Args.getLastArg(options::OPT_mabi_EQ);
  440   Arg *A = Args.getLastArg(options::OPT_m_libc_Group);
  445   if (Arg *NaNArg = Args.getLastArg(options::OPT_mnan_EQ))
  497   if (Arg *A = Args.getLastArg(options::OPT_msingle_float,
tools/clang/lib/Driver/ToolChains/Arch/PPC.cpp
   25   if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) {
  117   if (Args.getLastArg(options::OPT_msecure_plt))
  129           Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float,
  156   Arg *A = Args.getLastArg(options::OPT_mabi_EQ);
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
  361   if (const Arg *A = Args.getLastArg(options::OPT_march_EQ))
  445       << Args.getLastArg(options::OPT_msave_restore)->getAsString(Args);
  458   if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ))
tools/clang/lib/Driver/ToolChains/Arch/Sparc.cpp
   77   if (Arg *A = Args.getLastArg(clang::driver::options::OPT_msoft_float,
tools/clang/lib/Driver/ToolChains/Arch/SystemZ.cpp
   19   if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ))
   27   if (Arg *A = Args.getLastArg(options::OPT_mhtm, options::OPT_mno_htm)) {
   34   if (Arg *A = Args.getLastArg(options::OPT_mvx, options::OPT_mno_vx)) {
tools/clang/lib/Driver/ToolChains/Arch/X86.cpp
   25   if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) {
  113   if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) {
tools/clang/lib/Driver/ToolChains/Clang.cpp
   56           Args.getLastArg(clang::driver::options::OPT_C, options::OPT_CC)) {
   70             Args.getLastArg(options::OPT_dynamic, options::OPT_mdynamic_no_pic))
  192   Arg *A = Args.getLastArg(options::OPT_mrecip, options::OPT_mrecip_EQ);
  288   Arg *A = Args.getLastArg(options::OPT_mprefer_vector_width_EQ);
  362     Arg *ExceptionArg = Args.getLastArg(
  504   Arg *A = Args.getLastArg(options::OPT_fomit_frame_pointer,
  524   if (Arg *A = Args.getLastArg(options::OPT_fdebug_compilation_dir)) {
  550   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  647   auto *PGOGenerateArg = Args.getLastArg(options::OPT_fprofile_generate,
  654   auto *CSPGOGenerateArg = Args.getLastArg(options::OPT_fcs_profile_generate,
  661   auto *ProfileGenerateArg = Args.getLastArg(
  766     auto *Arg = Args.getLastArg(options::OPT_fprofile_exclude_files_EQ);
  778     auto *Arg = Args.getLastArg(options::OPT_fprofile_filter_files_EQ);
  795     FProfileDir = Args.getLastArg(options::OPT_fprofile_dir);
  805     if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o))
  846   if (Arg *A = Args.getLastArg(options::OPT_O_Group))
  927   const Arg *A = Args.getLastArg(options::OPT_gz, options::OPT_gz_EQ);
  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)) {
 1037       Arg *OutputOpt = Args.getLastArg(options::OPT_o);
 1106     const Arg *YcArg = Args.getLastArg(options::OPT__SLASH_Yc);
 1107     const Arg *YuArg = Args.getLastArg(options::OPT__SLASH_Yu);
 1198   if (Arg *A = Args.getLastArg(options::OPT_I_))
 1306   if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) {
 1342   if (Arg *A = Args.getLastArg(options::OPT_mglobal_merge,
 1355   if (Args.getLastArg(options::OPT_mcmse))
 1489   if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ))
 1516   if (Arg *A = Args.getLastArg(options::OPT_mfix_cortex_a53_835769,
 1530   if (Arg *A = Args.getLastArg(options::OPT_mglobal_merge,
 1540   if (Arg *A = Args.getLastArg(options::OPT_msign_return_address_EQ,
 1593   if (Arg *A = Args.getLastArg(options::OPT_mldc1_sdc1,
 1601   if (Arg *A = Args.getLastArg(options::OPT_mcheck_zero_division,
 1609   if (Arg *A = Args.getLastArg(options::OPT_G)) {
 1616   Arg *GPOpt = Args.getLastArg(options::OPT_mgpopt, options::OPT_mno_gpopt);
 1618       Args.getLastArg(options::OPT_mabicalls, options::OPT_mno_abicalls);
 1648     Arg *LocalSData = Args.getLastArg(options::OPT_mlocal_sdata,
 1650     Arg *ExternSData = Args.getLastArg(options::OPT_mextern_sdata,
 1652     Arg *EmbeddedData = Args.getLastArg(options::OPT_membedded_data,
 1690   if (Arg *A = Args.getLastArg(options::OPT_mcompact_branches_EQ)) {
 1703   if (Arg *A = Args.getLastArg(options::OPT_mrelax_pic_calls,
 1723       if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
 1826   if (Arg *A = Args.getLastArg(
 1836   if (Arg *A = Args.getLastArg(options::OPT_masm_EQ)) {
 1871   if (Args.getLastArg(options::OPT_mieee_rnd_near)) {
 1881   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
 1887   if (Arg *A = Args.getLastArg(options::OPT_mregparm_EQ)) {
 2030     if (Arg *A = Args.getLastArg(options::OPT_mimplicit_it_EQ)) {
 2236   if (const Arg *A = Args.getLastArg(options::OPT_flimited_precision_EQ)) {
 2383   if (const Arg *A = Args.getLastArg(options::OPT_mfpmath_EQ)) {
 2450   if (Arg *A = Args.getLastArg(options::OPT__analyzer_output))
 2478   if (Arg *A = Args.getLastArg(options::OPT_fno_stack_protector,
 2572   if (Arg *A = Args.getLastArg(options::OPT_cl_std_EQ)) {
 2578     if (const auto *A = Args.getLastArg(Arg))
 2586     if (const Arg *A = Args.getLastArg(options::OPT_ccc_arcmt_check,
 2614   if (const Arg *A = Args.getLastArg(options::OPT_ccc_objcmt_migrate)) {
 2749     if (Arg *A = Args.getLastArg(options::OPT_fmodules_cache_path))
 2832   if (Arg *A = Args.getLastArg(options::OPT_fbuild_session_file)) {
 2847   if (Args.getLastArg(options::OPT_fmodules_validate_once_per_build_session)) {
 2848     if (!Args.getLastArg(options::OPT_fbuild_session_timestamp,
 2867   if (const Arg *A = Args.getLastArg(options::OPT_fsigned_char,
 2882   if (const Arg *A = Args.getLastArg(options::OPT_fshort_wchar,
 2960     auto *Arg = Args.getLastArg(
 2977         Args.getLastArg(options::OPT_fobjc_weak, options::OPT_fno_objc_weak);
 2994   if (const Arg *A = Args.getLastArg(options::OPT__SLASH_diagnostics_classic,
 3029           Args.getLastArg(options::OPT_fdiagnostics_show_category_EQ)) {
 3039           Args.getLastArg(options::OPT_fdiagnostics_hotness_threshold_EQ)) {
 3045   if (const Arg *A = Args.getLastArg(options::OPT_fdiagnostics_format_EQ)) {
 3050   if (const Arg *A = Args.getLastArg(
 3109       Args.getLastArg(options::OPT_gsplit_dwarf, options::OPT_gsplit_dwarf_EQ);
 3136           Args.getLastArg(options::OPT_fdebug_info_for_profiling), Args, D, TC))
 3167           Args.getLastArg(options::OPT_g_Group, options::OPT_gsplit_dwarf,
 3189           Args.getLastArg(options::OPT_gTune_Group, options::OPT_ggdbN_Group)) {
 3202           Args.getLastArg(options::OPT_gdwarf_2, options::OPT_gdwarf_3,
 3207   if (const Arg *A = Args.getLastArg(options::OPT_gcodeview)) {
 3239   if (const Arg *A = Args.getLastArg(options::OPT_gcolumn_info))
 3248   if (const Arg *A = Args.getLastArg(options::OPT_gmodules))
 3270   if (const Arg *A = Args.getLastArg(options::OPT_fstandalone_debug))
 3281     const Arg *A = Args.getLastArg(options::OPT_gembed_source);
 3308     if (checkDebugInfoOption(Args.getLastArg(options::OPT_fdebug_macro), Args,
 3314       Args.getLastArg(options::OPT_ggnu_pubnames, options::OPT_gno_gnu_pubnames,
 3335   if (const Arg *A = Args.getLastArg(options::OPT_gdwarf_aranges))
 3346           << Args.getLastArg(options::OPT_fdebug_types_section)
 3350                    Args.getLastArg(options::OPT_fdebug_types_section), Args, D,
 3398     auto *ModuleNameArg = Args.getLastArg(options::OPT_fmodule_name_EQ);
 3453   if (const Arg *MJ = Args.getLastArg(options::OPT_MJ)) {
 3457                  Args.getLastArg(options::OPT_gen_cdb_fragment_path)) {
 3638   if (const Arg *A = Args.getLastArg(options::OPT_fthinlto_index_EQ)) {
 3644   if (Args.getLastArg(options::OPT_fthin_link_bitcode_EQ))
 3647   if (Args.getLastArg(options::OPT_save_temps_EQ))
 3730     if (const Arg *A = Args.getLastArg(options::OPT_O_Group)) {
 3864   if (Arg *A = Args.getLastArg(options::OPT_meabi)) {
 3870   if (Arg *A = Args.getLastArg(options::OPT_mthread_model)) {
 3906   if (Arg *A = Args.getLastArg(options::OPT_Wframe_larger_than_EQ)) {
 3925   if (Arg *A = Args.getLastArg(options::OPT_mregparm_EQ)) {
 3930   if (Arg *A = Args.getLastArg(options::OPT_fpcc_struct_return,
 4014   if (Arg *A = Args.getLastArg(options::OPT_LongDouble_Group)) {
 4098   if (Arg *A = Args.getLastArg(options::OPT_mcmodel_EQ)) {
 4142   if (Arg *A = Args.getLastArg(options::OPT_mlinker_version_EQ)) {
 4153       if ((Unsupported = Args.getLastArg(options::OPT_fapple_kext)) ||
 4154           (Unsupported = Args.getLastArg(options::OPT_mkernel)))
 4159     if ((Unsupported = Args.getLastArg(options::OPT_faltivec)))
 4163     if ((Unsupported = Args.getLastArg(options::OPT_fno_altivec)))
 4252   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
 4295   const Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi);
 4306     if (Arg *A = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi,
 4341         Args.getLastArg(options::OPT_Wwrite_strings,
 4358   if (Arg *Asm = Args.getLastArg(options::OPT_fasm, options::OPT_fno_asm)) {
 4376   if (Arg *A = Args.getLastArg(options::OPT_ftemplate_depth_,
 4382   if (Arg *A = Args.getLastArg(options::OPT_foperator_arrow_depth_EQ)) {
 4387   if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_depth_EQ)) {
 4392   if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_steps_EQ)) {
 4403   if (Arg *A = Args.getLastArg(options::OPT_fbracket_depth_EQ)) {
 4408   if (Arg *A = Args.getLastArg(options::OPT_Wlarge_by_value_copy_EQ,
 4420   if (const Arg *A = Args.getLastArg(options::OPT_fcf_runtime_abi_EQ)) {
 4431   if (Arg *A = Args.getLastArg(options::OPT_fconstant_string_class_EQ)) {
 4436   if (Arg *A = Args.getLastArg(options::OPT_ftabstop_EQ)) {
 4446   if (Arg *A = Args.getLastArg(options::OPT_ferror_limit_EQ))
 4451   if (Arg *A = Args.getLastArg(options::OPT_fmacro_backtrace_limit_EQ)) {
 4456   if (Arg *A = Args.getLastArg(options::OPT_ftemplate_backtrace_limit_EQ)) {
 4461   if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_backtrace_limit_EQ)) {
 4466   if (Arg *A = Args.getLastArg(options::OPT_fspell_checking_limit_EQ)) {
 4473   if (Arg *A = Args.getLastArg(options::OPT_fmessage_length_EQ)) {
 4483   if (const Arg *A = Args.getLastArg(options::OPT_fvisibility_EQ,
 4588   if (Args.getLastArg(options::OPT_fapple_kext) ||
 4602   if (Arg *A = Args.getLastArg(options::OPT_ftrapv_handler_EQ)) {
 4611   if (Arg *A = Args.getLastArg(options::OPT_fwrapv, options::OPT_fno_wrapv)) {
 4614   } else if (Arg *A = Args.getLastArg(options::OPT_fstrict_overflow,
 4620   if (Arg *A = Args.getLastArg(options::OPT_freroll_loops,
 4661   if (Arg *A = Args.getLastArg(options::OPT_mrestrict_it,
 4685   if (Arg *A = Args.getLastArg(options::OPT_fcf_protection_EQ)) {
 4693     auto *PGOArg = Args.getLastArg(
 4798   if (Arg *A = Args.getLastArg(options::OPT_fgnuc_version_EQ)) {
 4827     if (const Arg *StdArg = Args.getLastArg(options::OPT__SLASH_std)) {
 4918   Arg *A = Args.getLastArg(
 4967   if (Arg *A = Args.getLastArg(options::OPT_faligned_allocation,
 4978   if (Arg *A = Args.getLastArg(options::OPT_fnew_alignment_EQ,
 4998   if (Arg *A = Args.getLastArg(options::OPT_fpack_struct_EQ)) {
 5009   if (Arg *A = Args.getLastArg(options::OPT_fmax_type_align_EQ)) {
 5036         << Args.getLastArg(options::OPT_funsigned_bitfields)->getAsString(Args);
 5041         << Args.getLastArg(options::OPT_fno_for_scope)->getAsString(Args);
 5044   if (Arg *inputCharset = Args.getLastArg(options::OPT_finput_charset_EQ)) {
 5052   if (Arg *execCharset = Args.getLastArg(options::OPT_fexec_charset_EQ)) {
 5097   if (Arg *A = Args.getLastArg(options::OPT_fdollars_in_identifiers,
 5107   if (Arg *A = Args.getLastArg(options::OPT_funit_at_a_time,
 5127     const Arg *A = Args.getLastArg(options::OPT_foptimization_record_file_EQ);
 5134         if (Arg *FinalOutput = Args.getLastArg(options::OPT_o))
 5157               Args.getLastArg(options::OPT_fsave_optimization_record_EQ))
 5167             Args.getLastArg(options::OPT_foptimization_record_passes_EQ)) {
 5173             Args.getLastArg(options::OPT_fsave_optimization_record_EQ)) {
 5194   if (Arg *A = Args.getLastArg(options::OPT_traditional,
 5206   if (Arg *A = Args.getLastArg(options::OPT__serialize_diags)) {
 5296         << Args.getLastArg(options::OPT_frecord_command_line)->getAsString(Args)
 5358     Arg *Tgts = Args.getLastArg(options::OPT_fopenmp_targets_EQ);
 5416   if (Arg *A = Args.getLastArg(options::OPT_fexperimental_isel,
 5428       Arg *A = Args.getLastArg(options::OPT_O_Group);
 5458   if (Arg *A = Args.getLastArg(options::OPT_fforce_enable_int128,
 5472   if (Arg *A = Args.getLastArg(options::OPT_moutline,
 5501   if (Arg *A = Args.getLastArg(options::OPT_fsymbol_partition_EQ)) {
 5560   if (Arg *A = Args.getLastArg(options::OPT_pg))
 5596       args.getLastArg(options::OPT_fnext_runtime, options::OPT_fgnu_runtime,
 5629   if (Arg *abiArg = args.getLastArg(options::OPT_fobjc_abi_version_EQ)) {
 5656               args.getLastArg(options::OPT_fobjc_nonfragile_abi_version_EQ)) {
 5792   if (Arg *A = Args.getLastArg(options::OPT__SLASH_M_Group))
 5855           Args.getLastArg(options::OPT__SLASH_Z7, options::OPT__SLASH_Zd,
 5889   if (Arg *A = Args.getLastArg(options::OPT__SLASH_volatile_Group))
 5905   Arg *MostGeneralArg = Args.getLastArg(options::OPT__SLASH_vmg);
 5906   Arg *BestCaseArg = Args.getLastArg(options::OPT__SLASH_vmb);
 5912     Arg *SingleArg = Args.getLastArg(options::OPT__SLASH_vms);
 5913     Arg *MultipleArg = Args.getLastArg(options::OPT__SLASH_vmm);
 5914     Arg *VirtualArg = Args.getLastArg(options::OPT__SLASH_vmv);
 5933           Args.getLastArg(options::OPT__SLASH_Gd, options::OPT__SLASH_Gr,
 5977   if (Arg *A = Args.getLastArg(options::OPT__SLASH_guard)) {
 6020   if (Arg *OutputOpt = Args.getLastArg(options::OPT_o)) {
 6044   if (Arg *A = Args.getLastArg(options::OPT_masm_EQ)) {
 6132   if (Arg *A = Args.getLastArg(options::OPT_g_Group)) {
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  200   if (Arg *A = Args.getLastArg(OnOpt, OffOpt)) {
  210   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
  226   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
  235   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
  273     if (const Arg *A = Args.getLastArg(options::OPT_mmcu_EQ))
  289     if (const Arg *A = Args.getLastArg(options::OPT_march_EQ))
  316     if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
  346   Arg *LtoJobsArg = Args.getLastArg(options::OPT_flto_jobs_EQ);
  390   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  417   if (Arg *A = Args.getLastArg(options::OPT_gTune_Group,
  449   auto *CSPGOGenerateArg = Args.getLastArg(options::OPT_fcs_profile_generate,
  801   if (Arg *A = Args.getLastArg(options::OPT_O_Group))
  809   if (Arg *A = Args.getLastArg(options::OPT_gsplit_dwarf_EQ))
  813   Arg *FinalOutput = Args.getLastArg(options::OPT_o);
  866   auto *ProfileUseArg = Args.getLastArg(
  879   auto *ProfileSampleUseArg = Args.getLastArg(
  890   return Args.getLastArg(options::OPT_fprofile_sample_use_EQ,
  971   Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC,
  977           Args.getLastArg(options::OPT_fPIC, options::OPT_fpic,
 1001           Arg *ModelArg = Args.getLastArg(options::OPT_mcmodel_EQ);
 1026   if (Arg *A = Args.getLastArg(options::OPT_mdynamic_no_pic)) {
 1057   Arg* LastROPIArg = Args.getLastArg(options::OPT_fropi, options::OPT_fno_ropi);
 1064   Arg *LastRWPIArg = Args.getLastArg(options::OPT_frwpi, options::OPT_fno_rwpi);
 1125   const Arg *A = Args.getLastArg(options::OPT_falign_functions,
 1251             << Args.getLastArg(options::OPT_rtlib_EQ)->getValue() << "MSVC";
 1371   const Arg *A = Args.getLastArg(options::OPT_save_stats_EQ);
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  304   const Arg *A = Args.getLastArg(options::OPT_O_Group);
  309   if (const Arg *A = Args.getLastArg(options::OPT_g_Group)) {
  360   } else if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  421   if (Arg *A = Args.getLastArg(options::OPT_ptxas_path_EQ))
  530   if (const Arg *A = Args.getLastArg(options::OPT_libomptarget_nvptx_path_EQ))
  681     if (const Arg *A = DriverArgs.getLastArg(options::OPT_libomptarget_nvptx_path_EQ))
tools/clang/lib/Driver/ToolChains/Darwin.cpp
  186   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  208   if (Arg *A = Args.getLastArg(options::OPT_mlinker_version_EQ)) {
  287     if ((A = Args.getLastArg(options::OPT_compatibility__version)) ||
  288         (A = Args.getLastArg(options::OPT_current__version)) ||
  289         (A = Args.getLastArg(options::OPT_install__name)))
  300     if ((A = Args.getLastArg(options::OPT_bundle)) ||
  301         (A = Args.getLastArg(options::OPT_bundle__loader)) ||
  302         (A = Args.getLastArg(options::OPT_client__name)) ||
  303         (A = Args.getLastArg(options::OPT_force__flat__namespace)) ||
  304         (A = Args.getLastArg(options::OPT_keep__private__externs)) ||
  305         (A = Args.getLastArg(options::OPT_private__bundle)))
  346           Args.getLastArg(options::OPT_fpie, options::OPT_fPIE,
  391   } else if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
  475             Args.getLastArg(options::OPT_fsave_optimization_record_EQ))
  487               Args.getLastArg(options::OPT_fdiagnostics_hotness_threshold_EQ)) {
  496             Args.getLastArg(options::OPT_foptimization_record_passes_EQ)) {
  504             Args.getLastArg(options::OPT_fsave_optimization_record_EQ)) {
  514           Args.getLastArg(options::OPT_moutline, options::OPT_mno_outline)) {
  646     if (Arg *A = Args.getLastArg(options::OPT_fveclib)) {
  839     if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ))
  843     if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
  956     if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
 1146   if (Arg* A = Args.getLastArg(options::OPT_rtlib_EQ)) {
 1175   if (const Arg *A = Args.getLastArg(options::OPT_static_libgcc)) {
 1426   Arg *OSXVersion = Args.getLastArg(options::OPT_mmacosx_version_min_EQ);
 1427   Arg *iOSVersion = Args.getLastArg(options::OPT_miphoneos_version_min_EQ,
 1430       Args.getLastArg(options::OPT_mtvos_version_min_EQ,
 1433       Args.getLastArg(options::OPT_mwatchos_version_min_EQ,
 1523   const Arg *A = Args.getLastArg(options::OPT_isysroot);
 1632                                           Args.getLastArg(options::OPT_target));
 1638   const Arg *A = Args.getLastArg(options::OPT_isysroot);
 1659   if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
 1806   if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
 2014     if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
 2376   if (!Args.getLastArg(options::OPT_stdlib_EQ) &&
tools/clang/lib/Driver/ToolChains/FreeBSD.cpp
   64     if (Arg *A = Args.getLastArg(options::OPT_G)) {
  212   if (Arg *A = Args.getLastArg(options::OPT_G)) {
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp
  236   if (Arg *A = Args.getLastArg(clang::driver::options::OPT_rtlib_EQ)) {
  248   if (Arg *A = Args.getLastArg(options::OPT_stdlib_EQ)) {
tools/clang/lib/Driver/ToolChains/Gnu.cpp
   53   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
  247     if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian,
  317   Arg *A = Args.getLastArg(options::OPT_pie, options::OPT_no_pie,
  652   if (const Arg *A = Args.getLastArg(options::OPT_gz, options::OPT_gz_EQ)) {
  712     if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) {
  811     if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) {
  817     if (Arg *A = Args.getLastArg(options::OPT_mfp32, options::OPT_mfpxx,
  830             Args.getLastArg(options::OPT_mips16, options::OPT_mno_mips16)) {
  845     if (Arg *A = Args.getLastArg(options::OPT_mmsa, options::OPT_mno_msa)) {
  910   Arg *A = Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float,
  929   Arg *A = Args.getLastArg(options::OPT_mips16, options::OPT_mno_mips16);
  934   Arg *A = Args.getLastArg(options::OPT_mmicromips, options::OPT_mno_micromips);
 1737   const Arg *A = Args.getLastArg(clang::driver::options::OPT_gcc_toolchain);
tools/clang/lib/Driver/ToolChains/HIP.cpp
   96   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
   40   if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) {
   60   if (Arg *A = Args.getLastArg(options::OPT_mno_hexagon_hvx,
   77   if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) {
  102   if (Arg *A = Args.getLastArg(options::OPT_mlong_calls,
  399   if (Arg *A = Args.getLastArg(options::OPT_G)) {
  401   } else if (Args.getLastArg(options::OPT_shared, options::OPT_fpic,
  490   Arg *A = DriverArgs.getLastArg(options::OPT_O_Group);
  549   Arg *A = Args.getLastArg(options::OPT_stdlib_EQ);
  561   if (Arg *A = Args.getLastArg(options::OPT_fvectorize,
  577   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ, options::OPT_march_EQ))
tools/clang/lib/Driver/ToolChains/InterfaceStubs.cpp
   24   CmdArgs.push_back(Args.getLastArg(options::OPT_emit_merged_ifs)
tools/clang/lib/Driver/ToolChains/MSP430.cpp
   46     HWMult = getSupportedHWMult(Args.getLastArg(options::OPT_mmcu_EQ));
   58   const Arg *MCU = Args.getLastArg(options::OPT_mmcu_EQ);
   64   const Arg *HWMultArg = Args.getLastArg(options::OPT_mhwmult_EQ);
  165   const auto *MCUArg = DriverArgs.getLastArg(options::OPT_mmcu_EQ);
  200     if (const Arg *MCUArg = Args.getLastArg(options::OPT_mmcu_EQ))
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  426   if (Arg *A = Args.getLastArg(options::OPT__SLASH_guard)) {
  615   if (Arg *A = Args.getLastArg(options::OPT_fbuiltin, options::OPT_fno_builtin))
  618   if (Arg *A = Args.getLastArg(options::OPT_O, options::OPT_O0)) {
  633   if (Arg *A = Args.getLastArg(options::OPT_fomit_frame_pointer,
  652   if (Arg *A = Args.getLastArg(options::OPT_ffunction_sections,
  657   if (Arg *A = Args.getLastArg(options::OPT_fdata_sections,
  681   if (Arg *A = Args.getLastArg(options::OPT__SLASH_MD, options::OPT__SLASH_MDd,
  686   if (Arg *A = Args.getLastArg(options::OPT_fthreadsafe_statics,
  694   if (Arg *A = Args.getLastArg(options::OPT__SLASH_guard)) {
tools/clang/lib/Driver/ToolChains/MinGW.cpp
  433   Arg *ExceptionArg = Args.getLastArg(options::OPT_fsjlj_exceptions,
tools/clang/lib/Driver/ToolChains/MipsLinux.cpp
   84   Arg *A = Args.getLastArg(options::OPT_stdlib_EQ);
tools/clang/lib/Driver/ToolChains/Myriad.cpp
   64   if (Args.getLastArg(options::OPT_MF) && !Args.getLastArg(options::OPT_MT) &&
   64   if (Args.getLastArg(options::OPT_MF) && !Args.getLastArg(options::OPT_MT) &&
   67     Arg *A = Args.getLastArg(options::OPT_o);
   97   const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ);
  133   Args.getLastArg(options::OPT_stdlib_EQ);
tools/clang/lib/Driver/ToolChains/NaCl.cpp
  341   if (Arg *A = Args.getLastArg(options::OPT_stdlib_EQ)) {
tools/clang/lib/Driver/ToolChains/PS4CPU.cpp
  335   if (const Arg *A = Args.getLastArg(options::OPT_fuse_ld_EQ)) {
  380   if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
tools/clang/lib/Driver/ToolChains/Solaris.cpp
   91     const Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi);
tools/clang/lib/Driver/ToolChains/WebAssembly.cpp
   37   if (const Arg* A = Args.getLastArg(options::OPT_fuse_ld_EQ)) {
  177   if (DriverArgs.getLastArg(options::OPT_fwasm_exceptions)) {
  204   if (Arg *A = Args.getLastArg(options::OPT_stdlib_EQ)) {
tools/clang/lib/Driver/ToolChains/XCore.cpp
   41   if (Arg *A = Args.getLastArg(options::OPT_g_Group))
tools/clang/lib/Driver/Types.cpp
  310   if (Driver.CCCIsCPP() || DAL.getLastArg(options::OPT_E) ||
  311       DAL.getLastArg(options::OPT__SLASH_EP) ||
  312       DAL.getLastArg(options::OPT_M, options::OPT_MM) ||
  313       DAL.getLastArg(options::OPT__SLASH_P))
  319   else if (DAL.getLastArg(options::OPT__precompile))
  324   else if (DAL.getLastArg(options::OPT_emit_interface_stubs)) {
  340   else if (DAL.getLastArg(options::OPT_fsyntax_only) ||
  341            DAL.getLastArg(options::OPT_print_supported_cpus) ||
  342            DAL.getLastArg(options::OPT_module_file_info) ||
  343            DAL.getLastArg(options::OPT_verify_pch) ||
  344            DAL.getLastArg(options::OPT_rewrite_objc) ||
  345            DAL.getLastArg(options::OPT_rewrite_legacy_objc) ||
  346            DAL.getLastArg(options::OPT__migrate) ||
  347            DAL.getLastArg(options::OPT__analyze) ||
  348            DAL.getLastArg(options::OPT_emit_ast))
  352   else if (DAL.getLastArg(options::OPT_S) ||
  353            DAL.getLastArg(options::OPT_emit_llvm))
  357   else if (DAL.getLastArg(options::OPT_c))
tools/clang/lib/Driver/XRayArgs.cpp
   75             Args.getLastArg(options::OPT_fxray_instruction_threshold_,
tools/clang/lib/Frontend/CompilerInvocation.cpp
  128   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  151   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  207   if (Arg *A = Args.getLastArg(OPT_analyzer_store)) {
  223   if (Arg *A = Args.getLastArg(OPT_analyzer_constraints)) {
  239   if (Arg *A = Args.getLastArg(OPT_analyzer_output)) {
  255   if (Arg *A = Args.getLastArg(OPT_analyzer_purge)) {
  271   if (Arg *A = Args.getLastArg(OPT_analyzer_inlining_mode)) {
  525   if (Arg *A = Args.getLastArg(OPT_mcode_model)) {
  537   if (Arg *A = Args.getLastArg(OPT_mrelocation_model)) {
  627   Arg *A = Args.getLastArg(OPT_fprofile_instrument_EQ);
  681         << Args.getLastArg(OPT_O)->getAsString(Args) << "-O" << MaxOptLevel;
  693   if (Arg *InlineArg = Args.getLastArg(
  715   if (Arg *A = Args.getLastArg(OPT_fveclib)) {
  729   if (Arg *A = Args.getLastArg(OPT_debug_info_kind_EQ)) {
  743   if (Arg *A = Args.getLastArg(OPT_debugger_tuning_EQ)) {
  776           Args.getLastArg(OPT_emit_llvm_uselists, OPT_no_emit_llvm_uselists))
  844       << Args.getLastArg(OPT_fprofile_remapping_file_EQ)->getAsString(Args)
  863   if (Arg *A = Args.getLastArg(OPT_mframe_pointer_EQ)) {
  949         << Args.getLastArg(OPT_mthread_model)->getAsString(Args)
  973   if (Arg *A = Args.getLastArg(OPT_flto_EQ)) {
  982   if (Arg *A = Args.getLastArg(OPT_fthinlto_index_EQ)) {
  988   if (Arg *A = Args.getLastArg(OPT_save_temps_EQ))
 1028             << Args.getLastArg(OPT_coverage_version_EQ)->getAsString(Args)
 1036   if (Arg *A = Args.getLastArg(OPT_fembed_bitcode_EQ)) {
 1104   if (const Arg *A = Args.getLastArg(OPT_fcf_protection_EQ)) {
 1119   if (const Arg *A = Args.getLastArg(OPT_compress_debug_sections,
 1181   if (Arg *A = Args.getLastArg(
 1188   if (Arg *A = Args.getLastArg(OPT_fsanitize_address_use_after_scope,
 1195   if (Arg *A = Args.getLastArg(OPT_fsanitize_address_use_odr_indicator,
 1203   if (Arg *A = Args.getLastArg(OPT_mstack_alignment)) {
 1210   if (Arg *A = Args.getLastArg(OPT_mstack_probe_size)) {
 1219   if (Arg *A = Args.getLastArg(OPT_fobjc_dispatch_method_EQ)) {
 1239   if (Args.getLastArg(OPT_femulated_tls) ||
 1240       Args.getLastArg(OPT_fno_emulated_tls)) {
 1246   if (Arg *A = Args.getLastArg(OPT_ftlsmodel_EQ)) {
 1262   if (Arg *A = Args.getLastArg(OPT_fdenormal_fp_math_EQ)) {
 1274   if (Arg *A = Args.getLastArg(OPT_fpcc_struct_return, OPT_freg_struct_return)) {
 1291   if (Arg *A = Args.getLastArg(OPT_opt_record_passes)) {
 1296   if (Arg *A = Args.getLastArg(OPT_opt_record_format)) {
 1301   if (Arg *A = Args.getLastArg(OPT_Rpass_EQ)) {
 1307   if (Arg *A = Args.getLastArg(OPT_Rpass_missed_EQ)) {
 1313   if (Arg *A = Args.getLastArg(OPT_Rpass_analysis_EQ)) {
 1371   if (Arg *A = Args.getLastArg(OPT_msign_return_address_EQ)) {
 1385     if (Arg *A = Args.getLastArg(OPT_msign_return_address_key_EQ)) {
 1514           Args.getLastArg(OPT_diagnostic_serialized_file, OPT__serialize_diags))
 1536   if (Arg *A = Args.getLastArg(OPT_fdiagnostics_show_note_include_stack,
 1551       << Args.getLastArg(OPT_fshow_overloads_EQ)->getAsString(Args)
 1567       << Args.getLastArg(OPT_fdiagnostics_show_category)->getAsString(Args)
 1586       << Args.getLastArg(OPT_fdiagnostics_format)->getAsString(Args)
 1677   if (const Arg *A = Args.getLastArg(OPT_Action_Group)) {
 1799   if (const Arg* A = Args.getLastArg(OPT_plugin)) {
 1828   if (const Arg *A = Args.getLastArg(OPT_code_completion_at)) {
 1889   if (const Arg *A = Args.getLastArg(OPT_arcmt_check,
 1952   if (const Arg *A = Args.getLastArg(OPT_x)) {
 2045   if (const Arg *A = Args.getLastArg(OPT_stdlib_EQ))
 2088   if (const Arg *A = Args.getLastArg(OPT_fmodule_format_EQ))
 2422   if (const Arg *A = Args.getLastArg(OPT_std_EQ)) {
 2464   if (const Arg *A = Args.getLastArg(OPT_fcf_protection_EQ)) {
 2472   if (const Arg *A = Args.getLastArg(OPT_cl_std_EQ)) {
 2499   if (Args.getLastArg(OPT_cl_strict_aliasing)
 2503         << Args.getLastArg(OPT_cl_strict_aliasing)->getAsString(Args);
 2537           << Args.getLastArg(OPT_fgpu_allow_device_init)->getAsString(Args);
 2542     if (Arg *arg = Args.getLastArg(OPT_fobjc_runtime_EQ)) {
 2569     if (auto weakArg = Args.getLastArg(OPT_fobjc_weak, OPT_fno_objc_weak)) {
 2591   if (Arg *A = Args.getLastArg(options::OPT_fgnuc_version_EQ)) {
 2626   if (const auto *A = Args.getLastArg(OPT_fcf_runtime_abi_EQ))
 2644   if (Arg *visOpt = Args.getLastArg(OPT_fvisibility)) {
 2651   if (Arg *typeVisOpt = Args.getLastArg(OPT_ftype_visibility)) {
 2679   if (const Arg *A = Args.getLastArg(OPT_fms_compatibility_version)) {
 2705   if (Arg *A = Args.getLastArg(OPT_flax_vector_conversions_EQ)) {
 2734   Arg *A = Args.getLastArg(
 2787   if (const Arg *A = Args.getLastArg(OPT_fwchar_type_EQ)) {
 2814     Arg *A = Args.getLastArg(OPT_fnew_alignment_EQ);
 2901   if (Arg *A = Args.getLastArg(OPT_faddress_space_map_mangling_EQ)) {
 2923   if (Arg *A = Args.getLastArg(OPT_fms_memptr_rep_EQ)) {
 2942   if (Arg *A = Args.getLastArg(OPT_fdefault_calling_conv_EQ)) {
 2971   if (Arg *A = Args.getLastArg(OPT_mrtd)) {
 3046   if (Arg *A = Args.getLastArg(options::OPT_fopenmp_targets_EQ)) {
 3067   if (Arg *A = Args.getLastArg(options::OPT_fopenmp_host_ir_file_path)) {
 3100   if (Arg *InlineArg = Args.getLastArg(
 3115   if (Arg *A = Args.getLastArg(OPT_ffp_contract)) {
 3134       << Args.getLastArg(OPT_stack_protector)->getAsString(Args) << SSP;
 3142   if (Arg *A = Args.getLastArg(OPT_ftrivial_auto_var_init)) {
 3192   if (Arg *A = Args.getLastArg(OPT_fclang_abi_compat_EQ)) {
 3290   if (const Arg *A = Args.getLastArg(OPT_preamble_bytes_EQ)) {
 3307   if (const Arg *A = Args.getLastArg(OPT_fcf_protection_EQ)) {
 3345   if (Arg *A = Args.getLastArg(OPT_fobjc_arc_cxxlib_EQ)) {
 3389   if (Arg *A = Args.getLastArg(OPT_meabi)) {
 3416   if (Arg *A = Args.getLastArg(options::OPT_target_sdk_version_EQ)) {
 3661   if (Arg *A = Args.getLastArg(Id)) {
tools/clang/tools/driver/cc1as_main.cpp
  223   if (const Arg *A = Args.getLastArg(OPT_compress_debug_sections,
  264   if (Arg *A = Args.getLastArg(OPT_filetype)) {
  299   if (auto *A = Args.getLastArg(OPT_fembed_bitcode_EQ)) {
tools/dsymutil/dsymutil.cpp
  189   if (opt::Arg *Accelerator = Args.getLastArg(OPT_accelerator)) {
  230   if (opt::Arg *SymbolMap = Args.getLastArg(OPT_symbolmap))
  246   if (opt::Arg *OsoPrependPath = Args.getLastArg(OPT_oso_prepend_path))
  249   if (opt::Arg *OutputFile = Args.getLastArg(OPT_output))
  252   if (opt::Arg *Toolchain = Args.getLastArg(OPT_toolchain))
  258   if (opt::Arg *NumThreads = Args.getLastArg(OPT_threads))
tools/lld/COFF/Driver.cpp
   94   auto *arg = args.getLastArg(id);
  638   auto *a = args.getLastArg(OPT_debug, OPT_debug_opt);
  668   if (auto *a = args.getLastArg(OPT_debugtype)) {
  699   auto *arg = args.getLastArg(OPT_lldmap, OPT_lldmap_file);
 1079   if (auto *arg = args.getLastArg(OPT_reproduce))
 1082   if (auto *arg = args.getLastArg(OPT_linkrepro)) {
 1119   if (auto *arg = args.getLastArg(OPT_errorlimit)) {
 1196   if (auto *arg = args.getLastArg(OPT_out))
 1234     if (auto *arg = args.getLastArg(OPT_pdb))
 1236     if (auto *arg = args.getLastArg(OPT_pdbaltpath))
 1241     if (auto *arg = args.getLastArg(OPT_pdb_source_path))
 1262   auto *dynamicBaseArg = args.getLastArg(OPT_dynamicbase, OPT_dynamicbase_no);
 1286   if (auto *arg = args.getLastArg(OPT_machine)) {
 1301   if (auto *arg = args.getLastArg(OPT_base))
 1305   if (auto *arg = args.getLastArg(OPT_filealign)) {
 1312   if (auto *arg = args.getLastArg(OPT_stack))
 1316   if (auto *arg = args.getLastArg(OPT_guard))
 1320   if (auto *arg = args.getLastArg(OPT_heap))
 1324   if (auto *arg = args.getLastArg(OPT_version))
 1329   if (auto *arg = args.getLastArg(OPT_subsystem))
 1334   if (llvm::opt::Arg *arg = args.getLastArg(OPT_timestamp, OPT_repro)) {
 1359   if (auto *arg = args.getLastArg(OPT_implib))
 1423   if (auto *arg = args.getLastArg(OPT_lldltocache))
 1427   if (auto *arg = args.getLastArg(OPT_lldltocachepolicy))
 1459   if (auto *arg = args.getLastArg(OPT_align)) {
 1471   if (auto *arg = args.getLastArg(OPT_manifestdependency)) {
 1477   if (auto *arg = args.getLastArg(OPT_manifest, OPT_manifest_colon)) {
 1485   if (auto *arg = args.getLastArg(OPT_manifestuac))
 1489   if (auto *arg = args.getLastArg(OPT_manifestfile))
 1670   if (auto *arg = args.getLastArg(OPT_deffile)) {
 1692   if (auto *arg = args.getLastArg(OPT_entry)) {
 1916   if (auto *arg = args.getLastArg(OPT_output_def))
 1947   if (auto *arg = args.getLastArg(OPT_order))
tools/lld/COFF/DriverUtils.cpp
  771   auto *arg = args.getLastArg(OPT_color_diagnostics, OPT_color_diagnostics_eq,
  791   if (auto *arg = args.getLastArg(OPT_rsp_quoting)) {
tools/lld/Common/Args.cpp
   31   auto *a = args.getLastArg(key);
tools/lld/ELF/Driver.cpp
  361   if (auto *arg = args.getLastArg(OPT_reproduce))
  578       args.getLastArg(OPT_discard_all, OPT_discard_locals, OPT_discard_none);
  589   auto *arg = args.getLastArg(OPT_dynamic_linker, OPT_no_dynamic_linker);
  596   auto *arg = args.getLastArg(OPT_icf_none, OPT_icf_safe, OPT_icf_all);
  608   auto *arg = args.getLastArg(OPT_strip_all, OPT_strip_debug);
  635   if (auto *arg = args.getLastArg(OPT_Ttext))
  637   if (auto *arg = args.getLastArg(OPT_Tdata))
  639   if (auto *arg = args.getLastArg(OPT_Tbss))
  671   auto *arg = args.getLastArg(OPT_build_id, OPT_build_id_eq);
  783   auto *arg = args.getLastArg(id);
  974   if (auto *arg = args.getLastArg(OPT_plugin_opt_mcpu_eq))
  996   if (auto *arg = args.getLastArg(OPT_m)) {
 1006   if (auto *arg = args.getLastArg(OPT_hash_style)) {
 1032   if (auto *arg = args.getLastArg(OPT_symbol_ordering_file)){
 1051   if (auto *arg = args.getLastArg(OPT_retain_symbols_file)) {
 1305   auto *arg = args.getLastArg(OPT_image_base);
 1966     if (auto *arg = args.getLastArg(OPT_call_graph_ordering_file))
tools/lld/ELF/DriverUtils.cpp
   57   auto *arg = args.getLastArg(OPT_color_diagnostics, OPT_color_diagnostics_eq,
   77   if (auto *arg = args.getLastArg(OPT_rsp_quoting)) {
tools/lld/MinGW/Driver.cpp
  202   if (auto *a = args.getLastArg(OPT_entry)) {
  212     auto *majOSVer = args.getLastArg(OPT_major_os_version);
  213     auto *minOSVer = args.getLastArg(OPT_minor_os_version);
  214     auto *majSubSysVer = args.getLastArg(OPT_major_subsystem_version);
  215     auto *minSubSysVer = args.getLastArg(OPT_minor_subsystem_version);
  231   } else if (auto *a = args.getLastArg(OPT_subs)) {
  235   if (auto *a = args.getLastArg(OPT_out_implib))
  237   if (auto *a = args.getLastArg(OPT_stack))
  239   if (auto *a = args.getLastArg(OPT_output_def))
  241   if (auto *a = args.getLastArg(OPT_image_base))
  243   if (auto *a = args.getLastArg(OPT_map))
  245   if (auto *a = args.getLastArg(OPT_reproduce))
  248   if (auto *a = args.getLastArg(OPT_o))
  255   if (auto *a = args.getLastArg(OPT_pdb)) {
  293   if (auto *a = args.getLastArg(OPT_icf)) {
  305   if (auto *a = args.getLastArg(OPT_m)) {
tools/lld/lib/Driver/DarwinLdDriver.cpp
  342   if (llvm::opt::Arg *kind = parsedArgs.getLastArg(
  366   if (llvm::opt::Arg *archStr = parsedArgs.getLastArg(OPT_arch)) {
  382         !parsedArgs.getLastArg(OPT_test_file_usage)) {
  399           parsedArgs.getLastArg(OPT_macosx_version_min, OPT_ios_version_min,
  443   if (llvm::opt::Arg *entry = parsedArgs.getLastArg(OPT_entry))
  447   if (llvm::opt::Arg *outpath = parsedArgs.getLastArg(OPT_output))
  453   if (llvm::opt::Arg *imageBase = parsedArgs.getLastArg(OPT_image_base)) {
  471   if (parsedArgs.getLastArg(OPT_dead_strip))
  476   if (parsedArgs.getLastArg(OPT_all_load))
  480   if (llvm::opt::Arg *installName = parsedArgs.getLastArg(OPT_install_name))
  486   if (parsedArgs.getLastArg(OPT_mark_dead_strippable_dylib))
  490   if (llvm::opt::Arg *vers = parsedArgs.getLastArg(OPT_compatibility_version)) {
  503   if (llvm::opt::Arg *vers = parsedArgs.getLastArg(OPT_current_version)) {
  517   if (llvm::opt::Arg *loader = parsedArgs.getLastArg(OPT_bundle_loader))
  552   if (parsedArgs.getLastArg(OPT_print_atoms))
  556   if (parsedArgs.getLastArg(OPT_t))
  560   if (parsedArgs.getLastArg(OPT_demangle))
  564   if (parsedArgs.getLastArg(OPT_keep_private_externs)) {
  571   if (llvm::opt::Arg *depInfo = parsedArgs.getLastArg(OPT_dependency_info))
  580   if (parsedArgs.getLastArg(OPT_test_file_usage)) {
  705           parsedArgs.getLastArg(OPT_multi_module, OPT_single_module)) {
  714   if (parsedArgs.getLastArg(OPT_objc_gc_compaction)) {
  719   if (parsedArgs.getLastArg(OPT_objc_gc)) {
  724   if (parsedArgs.getLastArg(OPT_objc_gc_only)) {
  730   if (llvm::opt::Arg *pie = parsedArgs.getLastArg(OPT_pie, OPT_no_pie)) {
  777     if (auto *arg = parsedArgs.getLastArg(OPT_version_load_command,
  825     if (auto *arg = parsedArgs.getLastArg(OPT_function_starts,
  873     if (auto *arg = parsedArgs.getLastArg(OPT_data_in_code_info,
  919   if (llvm::opt::Arg *arg = parsedArgs.getLastArg(OPT_sdk_version)) {
  938   if (llvm::opt::Arg *arg = parsedArgs.getLastArg(OPT_source_version)) {
  949   if (llvm::opt::Arg *stackSize = parsedArgs.getLastArg(OPT_stack_size)) {
  979           parsedArgs.getLastArg(OPT_flat_namespace, OPT_twolevel_namespace)) {
  985   if (llvm::opt::Arg *undef = parsedArgs.getLastArg(OPT_undefined)) {
 1021   if (parsedArgs.getLastArg(OPT_no_objc_category_merging))
tools/lld/wasm/Driver.cpp
  130   auto *arg = args.getLastArg(OPT_color_diagnostics, OPT_color_diagnostics_eq,
  290   auto *arg = args.getLastArg(OPT_entry, OPT_no_entry);
  360   if (auto *arg = args.getLastArg(OPT_features)) {
  664   if (auto *arg = args.getLastArg(OPT_reproduce)) {
  690   if (auto *arg = args.getLastArg(OPT_allow_undefined_file))
tools/lldb/tools/driver/Driver.cpp
  205   if (auto *arg = args.getLastArg(OPT_core)) {
  236   if (auto *arg = args.getLastArg(OPT_file)) {
  253   if (auto *arg = args.getLastArg(OPT_arch)) {
  262   if (auto *arg = args.getLastArg(OPT_script_language)) {
  271   if (auto *arg = args.getLastArg(OPT_attach_name)) {
  280   if (auto *arg = args.getLastArg(OPT_attach_pid)) {
  291   if (auto *arg = args.getLastArg(OPT_repl_language)) {
  306   if (auto *arg = args.getLastArg(OPT_repl_)) {
  779   if (auto *replay_path = input_args.getLastArg(OPT_replay)) {
  788   auto *capture_path = input_args.getLastArg(OPT_capture_path);
tools/llvm-cvtres/llvm-cvtres.cpp
  122   if (opt::Arg *Arg = InputArgs.getLastArg(OPT_MACHINE)) {
  142   if (opt::Arg *Arg = InputArgs.getLastArg(OPT_OUT)) {
  150   if (llvm::opt::Arg *Arg = InputArgs.getLastArg(OPT_TIMESTAMP)) {
tools/llvm-objcopy/CopyConfig.cpp
  470   if (auto Arg = InputArgs.getLastArg(OBJCOPY_compress_debug_sections,
  519   if (auto Arg = InputArgs.getLastArg(OBJCOPY_extract_partition))
  819   if (auto Arg = InputArgs.getLastArg(STRIP_strip_all, STRIP_no_strip_all))