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

References

tools/clang/lib/Driver/ToolChains/Clang.cpp
 3416         D.Diag(diag::err_drv_module_header_wrong_kind)
 3442     D.Diag(diag::err_drv_clang_unsupported) << "C++ for IAMCU";
 3511       D.Diag(diag::err_target_unsupported_arch) << Triple.getArchName()
 3570     CollectArgsForIntegratedAssembler(C, Args, CmdArgs, D);
 3632     if (D.isUsingLTO() && !isDeviceOffloadAction) {
 3640       D.Diag(diag::err_drv_arg_requires_bitcode_input) << A->getAsString(Args);
 3705         D.Diag(diag::err_drv_unsupported_embed_bitcode) << A->getSpelling();
 3712     RenderFloatingPointOptions(TC, D, isOptimizationLevelFast(Args), Args,
 3733         D.Diag(diag::warn_O4_is_O3);
 3757     C.addCommand(std::make_unique<Command>(JA, *this, D.getClangProgramPath(),
 3824   CheckCodeGenerationOptions(D, Args);
 3844     D.Diag(diag::err_drv_ropi_incompatible_with_cxx);
 3872       D.Diag(diag::err_drv_invalid_thread_model_for_target)
 3897         D.Diag(diag::err_drv_no_such_file) << Map;
 3933       D.Diag(diag::err_drv_unsupported_opt_for_target)
 3974   bool TBAAOnByDefault = !D.IsCLMode();
 4012   RenderFloatingPointOptions(TC, D, OFastEnabled, Args, CmdArgs);
 4022       D.Diag(diag::err_drv_unsupported_opt_for_target)
 4118   if (D.IsCLMode())
 4122   RenderDebugOptions(TC, D, RawTriple, Args, EmitCodeView, IsWindowsMSVC,
 4155         D.Diag(diag::err_drv_clang_unsupported_opt_cxx_darwin_i386)
 4160       D.Diag(diag::err_drv_clang_unsupported_opt_faltivec)
 4164       D.Diag(diag::err_drv_clang_unsupported_opt_faltivec)
 4170   if (D.CCPrintHeaders && !D.CCGenDiagnostics) {
 4170   if (D.CCPrintHeaders && !D.CCGenDiagnostics) {
 4172     CmdArgs.push_back(D.CCPrintHeadersFilename ? D.CCPrintHeadersFilename
 4172     CmdArgs.push_back(D.CCPrintHeadersFilename ? D.CCPrintHeadersFilename
 4178   if (D.CCLogDiagnostics && !D.CCGenDiagnostics) {
 4178   if (D.CCLogDiagnostics && !D.CCGenDiagnostics) {
 4180     CmdArgs.push_back(D.CCLogDiagnosticsFilename ? D.CCLogDiagnosticsFilename
 4180     CmdArgs.push_back(D.CCLogDiagnosticsFilename ? D.CCLogDiagnosticsFilename
 4208     addPGOAndCoverageFlags(TC, C, D, Output, Args, CmdArgs);
 4232   CmdArgs.push_back(D.ResourceDir.c_str());
 4236   RenderARCMigrateToolOptions(D, Args, CmdArgs);
 4243     AddPreprocessingOptions(C, JA, D, Args, CmdArgs, Output, Inputs);
 4255       D.Diag(diag::warn_O4_is_O3);
 4264     D.Diag(diag::warn_ignored_gcc_optimization) << A->getAsString(Args);
 4270     D.Diag(diag::warn_ignored_clang_option) << A->getAsString(Args);
 4372   addDebugCompDirArg(Args, CmdArgs, D.getVFS());
 4374   addDebugPrefixMapArg(D, Args, CmdArgs);
 4426       D.Diag(diag::err_drv_invalid_cf_runtime_abi) << A->getValue();
 4524     switch (D.getOpenMPRuntime(Args)) {
 4636   RenderTrivialAutoVarInitOptions(D, TC, Args, CmdArgs);
 4698       D.Diag(diag::err_drv_argument_not_allowed_with)
 4703       D.Diag(diag::err_drv_no_such_file) << fname;
 4807       D.Diag(diag::err_drv_invalid_value)
 4819   VersionTuple MSVT = TC.computeMSVCVersion(&D, Args);
 4835         D.Diag(clang::diag::warn_drv_unused_argument)
 4896   RenderModulesOptions(C, D, Args, Input, Output, CmdArgs, HaveModules);
 4906   RenderObjCOptions(TC, D, RawTriple, Args, Runtime, rewriteKind != RK_None,
 5035     D.Diag(diag::warn_drv_clang_unsupported)
 5040     D.Diag(diag::err_drv_clang_unsupported)
 5047       D.Diag(diag::err_drv_invalid_value) << inputCharset->getAsString(Args)
 5055       D.Diag(diag::err_drv_invalid_value) << execCharset->getAsString(Args)
 5059   RenderDiagnosticsOptions(D, Args, CmdArgs);
 5089   ParseMPreferVectorWidth(D, Args, CmdArgs);
 5110       D.Diag(diag::warn_drv_clang_unsupported) << A->getAsString(Args);
 5199       D.Diag(diag::err_drv_clang_unsupported) << A->getAsString(Args);
 5234   SmallString<128> StatsFile = getStatsFileName(Args, Output, Input, D);
 5281   const char *Exec = D.getClangProgramPath();
 5295     D.Diag(diag::err_drv_unsupported_opt_for_target)
 5378     if (D.getLTOMode() != LTOK_Full)
 5379       D.Diag(diag::err_drv_argument_only_allowed_with)
 5391     D.Diag(diag::err_drv_argument_not_allowed_with)
 5397     if (!D.isUsingLTO())
 5398       D.Diag(diag::err_drv_argument_only_allowed_with)
 5406       (D.getLTOMode() == LTOK_Full || TC.canSplitThinLTOUnit());
 5411     D.Diag(diag::err_drv_argument_not_allowed_with) << "-fno-split-lto-unit"
 5438           D.Diag(diag::warn_drv_experimental_isel_incomplete) << Triple.getArchName();
 5440           D.Diag(diag::warn_drv_experimental_isel_incomplete_opt);
 5452      if (!D.isUsingLTO()) {
 5479         D.Diag(diag::warn_drv_moutline_unsupported_opt) << Triple.getArchName();
 5496                       !Distro(D.getVFS()).IsGentoo() &&
 5504       D.Diag(diag::err_drv_unsupported_opt_for_target)
 5562       D.Diag(diag::err_drv_argument_not_allowed_with) << "-fomit-frame-pointer"