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

Declarations

include/llvm/Option/Arg.h
  144   std::string getAsString(const ArgList &Args) const;

References

lib/Option/Arg.cpp
   70     return Alias->getAsString(Args);
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
  104     llvm::errs() << "ignoring unknown argument: " << Arg->getAsString(Args)
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  286     llvm::errs() << "ignoring unknown argument: " << Arg->getAsString(Args)
tools/clang/lib/Driver/Driver.cpp
  216       auto ArgString = A->getAsString(Args);
  234       Diag(diag::warn_drv_empty_joined_argument) << A->getAsString(Args);
  243     auto ArgString = A->getAsString(Args);
  509           << "-miamcu" << A->getBaseArg().getAsString(Args);
  717           << OpenMPTargets->getAsString(C.getInputArgs());
 1092       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args)
 1941         Diag(clang::diag::err_drv_invalid_arch_name) << A->getAsString(Args);
 2411         std::string FileName = IA->getInputArg().getAsString(Args);
 2851         std::string FileName = IA->getInputArg().getAsString(Args);
 3283             << InputArg->getAsString(Args) << getPhaseName(InitialPhase);
 3293             << InputArg->getAsString(Args) << !!FinalPhaseArg
 3297             << InputArg->getAsString(Args) << getPhaseName(InitialPhase)
 3345     Diag(clang::diag::err_drv_use_of_Z_option) << A->getAsString(Args);
 3711             << A->getAsString(C.getArgs());
tools/clang/lib/Driver/SanitizerArgs.cpp
  288               << Arg->getAsString(Args);
  354               << "-fsanitize=vptr" << NoRTTIArg->getAsString(Args);
  548       D.Diag(diag::warn_drv_deprecated_arg) << Arg->getAsString(Args)
  602           D.Diag(clang::diag::err_drv_invalid_value) << A->getAsString(Args) << S;
  675               << Arg->getAsString(Args) << "-fsanitize-coverage=trace-pc-guard";
  752           D.Diag(clang::diag::err_drv_invalid_value) << A->getAsString(Args) << S;
  765             << WindowsDebugRTArg->getAsString(Args)
  821             << HwasanAbiArg->getAsString(Args) << HwasanAbi;
tools/clang/lib/Driver/ToolChain.cpp
  538     getDriver().Diag(diag::err_drv_invalid_linker_name) << A->getAsString(Args);
  750     getDriver().Diag(diag::err_drv_invalid_rtlib_name) << A->getAsString(Args);
  777         << A->getAsString(Args);
  795     getDriver().Diag(diag::err_drv_invalid_stdlib_name) << A->getAsString(Args);
  980           << MSCVersion->getAsString(Args)
  981           << MSCompatibilityVersion->getAsString(Args);
  990             << MSCompatibilityVersion->getAsString(Args)
 1002             << MSCVersion->getAsString(Args) << MSCVersion->getValue();
 1056           << A->getAsString(Args);
tools/clang/lib/Driver/ToolChains/AMDGPU.cpp
   42     D.Diag(diag::err_drv_clang_unsupported) << dAbi->getAsString(Args);
tools/clang/lib/Driver/ToolChains/Arch/AArch64.cpp
  190     D.Diag(diag::err_drv_clang_unsupported) << A->getAsString(Args);
  207       D.Diag(diag::err_drv_invalid_mtp) << A->getAsString(Args);
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
   62     D.Diag(clang::diag::err_drv_clang_unsupported) << A->getAsString(Args);
   71     D.Diag(clang::diag::err_drv_clang_unsupported) << A->getAsString(Args);
  112     D.Diag(clang::diag::err_drv_clang_unsupported) << A->getAsString(Args);
  128     D.Diag(clang::diag::err_drv_clang_unsupported) << A->getAsString(Args);
  150       D.Diag(diag::err_drv_missing_arg_mtp) << A->getAsString(Args);
  152       D.Diag(diag::err_drv_invalid_mtp) << A->getAsString(Args);
  179         D.Diag(diag::err_drv_invalid_mfloat_abi) << A->getAsString(Args);
  188       D.Diag(diag::err_drv_unsupported_opt_for_target) << A->getAsString(Args)
  350           << CPUArg->getAsString(Args);
  360           << ArchArg->getAsString(Args);
  365     D.Diag(clang::diag::warn_drv_unused_argument) << WaArch->getAsString(Args);
  395           << FPUArg->getAsString(Args);
  418           << HDivArg->getAsString(Args);
  541           D.Diag(diag::err_opt_not_valid_with_opt) << A->getAsString(Args) << B->getAsString(Args);
  541           D.Diag(diag::err_opt_not_valid_with_opt) << A->getAsString(Args) << B->getAsString(Args);
  547             D.Diag(diag::err_opt_not_valid_with_opt) << A->getAsString(Args) << B->getAsString(Args);
  547             D.Diag(diag::err_opt_not_valid_with_opt) << A->getAsString(Args) << B->getAsString(Args);
tools/clang/lib/Driver/ToolChains/Arch/Mips.cpp
  168         D.Diag(clang::diag::err_drv_invalid_mfloat_abi) << A->getAsString(Args);
  254         << LastPICArg->getAsString(Args) << (!ABICallsArg ? 0 : 1);
tools/clang/lib/Driver/ToolChains/Arch/PPC.cpp
  141         D.Diag(clang::diag::err_drv_invalid_mfloat_abi) << A->getAsString(Args);
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
  445       << Args.getLastArg(options::OPT_msave_restore)->getAsString(Args);
tools/clang/lib/Driver/ToolChains/Arch/Sparc.cpp
   91         D.Diag(clang::diag::err_drv_invalid_mfloat_abi) << A->getAsString(Args);
tools/clang/lib/Driver/ToolChains/Clang.cpp
   60           << A->getBaseArg().getAsString(Args)
   71       D.Diag(diag::err_drv_argument_not_allowed_with) << A->getAsString(Args)
  919       << A->getAsString(Args) << TC.getTripleString();
 1164                                                        << A->getAsString(Args);
 1199     D.Diag(diag::err_drv_I_dash_not_supported) << A->getAsString(Args);
 1477             << *Protection << A->getAsString(Args);
 1553             << Scope << A->getAsString(Args);
 2617           << A->getAsString(Args) << "-ccc-arcmt-migrate";
 2835           << A->getAsString(Args) << "-fbuild-session-timestamp";
 3284           << A->getAsString(Args) << "-gdwarf-5";
 3347                  ->getAsString(Args)
 3640       D.Diag(diag::err_drv_arg_requires_bitcode_input) << A->getAsString(Args);
 3873           << A->getValue() << A->getAsString(Args);
 4023           << A->getAsString(Args) << TripleStr;
 4264     D.Diag(diag::warn_ignored_gcc_optimization) << A->getAsString(Args);
 4270     D.Diag(diag::warn_ignored_clang_option) << A->getAsString(Args);
 4808           << A->getAsString(Args) << A->getValue();
 4836             << StdArg->getAsString(Args);
 5036         << Args.getLastArg(options::OPT_funsigned_bitfields)->getAsString(Args);
 5041         << Args.getLastArg(options::OPT_fno_for_scope)->getAsString(Args);
 5047       D.Diag(diag::err_drv_invalid_value) << inputCharset->getAsString(Args)
 5055       D.Diag(diag::err_drv_invalid_value) << execCharset->getAsString(Args)
 5110       D.Diag(diag::warn_drv_clang_unsupported) << A->getAsString(Args);
 5199       D.Diag(diag::err_drv_clang_unsupported) << A->getAsString(Args);
 5296         << Args.getLastArg(options::OPT_frecord_command_line)->getAsString(Args)
 5502     std::string Str = A->getAsString(Args);
 5563                                                       << A->getAsString(Args);
 5909         << MostGeneralArg->getAsString(Args) << BestCaseArg->getAsString(Args);
 5909         << MostGeneralArg->getAsString(Args) << BestCaseArg->getAsString(Args);
 5920           << FirstConflict->getAsString(Args)
 5921           << SecondConflict->getAsString(Args);
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  349     D.Diag(diag::err_drv_invalid_int_value) << LtoJobsArg->getAsString(Args)
 1137         << A->getAsString(Args) << A->getValue();
 1381     D.Diag(diag::err_drv_invalid_value) << A->getAsString(Args) << SaveStats;
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  814             << A->getAsString(Args);
  818             << A->getAsString(Args);
tools/clang/lib/Driver/ToolChains/Darwin.cpp
  210       D.Diag(diag::err_drv_invalid_version_number) << A->getAsString(Args);
  290       D.Diag(diag::err_drv_argument_only_allowed_with) << A->getAsString(Args)
  306       D.Diag(diag::err_drv_argument_not_allowed_with) << A->getAsString(Args)
 1176     getDriver().Diag(diag::err_drv_unsupported_opt) << A->getAsString(Args);
 1328       return Argument->getAsString(Args);
 1438           << OSXVersion->getAsString(Args)
 1441                  ->getAsString(Args);
 1447           << iOSVersion->getAsString(Args)
 1448           << (TvOSVersion ? TvOSVersion : WatchOSVersion)->getAsString(Args);
 1454           << TvOSVersion->getAsString(Args)
 1455           << WatchOSVersion->getAsString(Args);
 2109             << A->getAsString(Args);
 2113             << A->getAsString(Args);
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp
  240           << A->getAsString(Args);
  252         << A->getAsString(Args);
tools/clang/lib/Driver/ToolChains/HIP.cpp
  388             << A->getAsString(Args);
  392             << A->getAsString(Args);
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
  555     getDriver().Diag(diag::err_drv_invalid_stdlib_name) << A->getAsString(Args);
tools/clang/lib/Driver/ToolChains/MSP430.cpp
  104         << HWMultArg->getAsString(Args) << HWMult;
tools/clang/lib/Driver/ToolChains/MipsLinux.cpp
   89           << A->getAsString(Args);
tools/clang/lib/Driver/ToolChains/NaCl.cpp
  346         << A->getAsString(Args);
tools/clang/lib/Driver/ToolChains/WebAssembly.cpp
   47             << A->getAsString(Args);
  208           << A->getAsString(Args);
tools/clang/lib/Driver/XRayArgs.cpp
   79         D.Diag(clang::diag::err_drv_invalid_value) << A->getAsString(Args) << S;
tools/clang/lib/Frontend/CompilerInvocation.cpp
  216         << A->getAsString(Args) << Name;
  232         << A->getAsString(Args) << Name;
  248         << A->getAsString(Args) << Name;
  264         << A->getAsString(Args) << Name;
  280         << A->getAsString(Args) << Name;
  530     Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Value;
  549     Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Value;
  564         << RegexError << RpassArg->getAsString(Args);
  638     Diags.Report(diag::err_drv_invalid_pgo_instrumentor) << A->getAsString(Args)
  681         << Args.getLastArg(OPT_O)->getAsString(Args) << "-O" << MaxOptLevel;
  726       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Name;
  738       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args)
  750       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args)
  844       << Args.getLastArg(OPT_fprofile_remapping_file_EQ)->getAsString(Args)
  874       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Name;
  949         << Args.getLastArg(OPT_mthread_model)->getAsString(Args)
  978       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << S;
  985           << A->getAsString(Args) << "-x ir";
 1028             << Args.getLastArg(OPT_coverage_version_EQ)->getAsString(Args)
 1045       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Name;
 1114       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Name;
 1227       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Name;
 1255       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Name;
 1271       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Val;
 1383           << A->getAsString(Args) << SignScope;
 1396               << A->getAsString(Args) << SignKey;
 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)
 1694             << A->getAsString(Args) << A->getValue();
 1833         << A->getAsString(Args) << A->getValue();
 1994         << A->getAsString(Args) << A->getValue();
 2343     << arg->getAsString(args) << value;
 2426         << A->getAsString(Args) << A->getValue();
 2456           << A->getAsString(Args) << GetInputKindName(IK);
 2484         << A->getAsString(Args) << A->getValue();
 2503         << Args.getLastArg(OPT_cl_strict_aliasing)->getAsString(Args);
 2537           << Args.getLastArg(OPT_fgpu_allow_device_init)->getAsString(Args);
 2601           << A->getAsString(Args) << A->getValue();
 2682       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args)
 2715           << A->getAsString(Args) << A->getValue();
 2815     Diags.Report(diag::err_fe_invalid_alignment) << A->getAsString(Args)
 3124       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Val;
 3134       << Args.getLastArg(OPT_stack_protector)->getAsString(Args) << SSP;
 3152       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Val;
 3221           << A->getAsString(Args) << A->getValue();
 3338       Diags.Report(diag::err_drv_invalid_remap_file) << A->getAsString(Args);
 3353       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Name;
 3398       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args)
 3420           << A->getAsString(Args) << A->getValue();
 3448     auto ArgString = A->getAsString(Args);
 3664         Diags->Report(diag::err_drv_invalid_int_value) << A->getAsString(Args)
tools/clang/tools/driver/cc1as_main.cpp
  195     auto ArgString = A->getAsString(Args);
  256         Diags.Report(diag::err_drv_unknown_argument) << A->getAsString(Args);
  272       Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Name;
tools/lld/COFF/DriverUtils.cpp
  848     if (table.findNearest(arg->getAsString(args), nearest) > 1)
  849       warn("ignoring unknown argument '" + arg->getAsString(args) + "'");
  851       warn("ignoring unknown argument '" + arg->getAsString(args) +
  884     warn("ignoring unknown argument: " + arg->getAsString(args));
tools/lld/ELF/Driver.cpp
  622     error("invalid argument: " + arg.getAsString(args));
tools/lld/ELF/DriverUtils.cpp
  137     if (findNearest(arg->getAsString(args), nearest) > 1)
  138       error("unknown argument '" + arg->getAsString(args) + "'");
  140       error("unknown argument '" + arg->getAsString(args) +
tools/lld/MinGW/Driver.cpp
  108     error("unknown argument: " + arg->getAsString(args));
tools/lld/lib/Driver/DarwinLdDriver.cpp
  333          Twine(unknownArg->getAsString(parsedArgs)));
tools/lld/wasm/Driver.cpp
  171     error("unknown argument: " + arg->getAsString(args));
tools/lldb/tools/driver/Driver.cpp
  368         m_option_data.m_args.push_back(arg->getAsString((args)));
tools/llvm-lipo/llvm-lipo.cpp
  302     reportError("unknown argument '" + Arg->getAsString(InputArgs) + "'");
tools/llvm-mt/llvm-mt.cpp
   97     auto ArgString = Arg->getAsString(InputArgs);
tools/llvm-objcopy/CopyConfig.cpp
  398                              Arg->getAsString(InputArgs).c_str());
  785                              Arg->getAsString(InputArgs).c_str());