1 | #ifdef DRIVERSTART |
2 | __DRIVERSTART = DIAG_START_DRIVER, |
3 | #undef DRIVERSTART |
4 | #endif |
5 | |
6 | DIAG(err_analyzer_checker_incompatible_analyzer_option, CLASS_ERROR, (unsigned)diag::Severity::Error, "checker cannot be enabled with analyzer option '%0' == %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
7 | DIAG(err_analyzer_checker_option_invalid_input, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid input for checker option '%0', that expects %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
8 | DIAG(err_analyzer_checker_option_unknown, CLASS_ERROR, (unsigned)diag::Severity::Error, "checker '%0' has no option called '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
9 | DIAG(err_analyzer_config_invalid_input, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid input for analyzer-config option '%0', that expects %1 value" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
10 | DIAG(err_analyzer_config_multiple_values, CLASS_ERROR, (unsigned)diag::Severity::Error, "analyzer-config option '%0' should contain only one '='" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
11 | DIAG(err_analyzer_config_no_value, CLASS_ERROR, (unsigned)diag::Severity::Error, "analyzer-config option '%0' has a key but no value" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
12 | DIAG(err_analyzer_config_unknown, CLASS_ERROR, (unsigned)diag::Severity::Error, "unknown analyzer-config '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
13 | DIAG(err_analyzer_not_built_with_z3, CLASS_ERROR, (unsigned)diag::Severity::Error, "analyzer constraint manager 'z3' is only available if LLVM was built with -DLLVM_ENABLE_Z3_SOLVER=ON" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
14 | DIAG(err_arc_unsupported_on_runtime, CLASS_ERROR, (unsigned)diag::Severity::Error, "-fobjc-arc is not supported on platforms using the legacy runtime" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
15 | DIAG(err_arc_unsupported_on_toolchain, CLASS_ERROR, (unsigned)diag::Severity::Error, "-fobjc-arc is not supported on versions of OS X prior to 10.6" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
16 | DIAG(err_arch_unsupported_isa, CLASS_ERROR, (unsigned)diag::Severity::Error, "architecture '%0' does not support '%1' execution mode" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
17 | DIAG(err_cc1_round_trip_fail_then_ok, CLASS_ERROR, (unsigned)diag::Severity::Error, "original arguments parse failed, then succeeded in round-trip" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
18 | DIAG(err_cc1_round_trip_mismatch, CLASS_ERROR, (unsigned)diag::Severity::Error, "generated arguments do not match in round-trip" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
19 | DIAG(err_cc1_round_trip_ok_then_fail, CLASS_ERROR, (unsigned)diag::Severity::Error, "generated arguments parse failed in round-trip" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
20 | DIAG(err_cc1_unbounded_vscale_min, CLASS_ERROR, (unsigned)diag::Severity::Error, "minimum vscale must be an unsigned integer greater than 0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
21 | DIAG(err_cmse_pi_are_incompatible, CLASS_ERROR, (unsigned)diag::Severity::Error, "cmse is not compatible with %select{RWPI|ROPI}0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
22 | DIAG(err_cpu_unsupported_isa, CLASS_ERROR, (unsigned)diag::Severity::Error, "CPU '%0' does not support '%1' execution mode" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
23 | DIAG(err_drv_I_dash_not_supported, CLASS_ERROR, (unsigned)diag::Severity::Error, "'%0' not supported, please use -iquote instead" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
24 | DIAG(err_drv_Xopenmp_target_missing_triple, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot deduce implicit triple value for -Xopenmp-target, specify triple using -Xopenmp-target=<triple>" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
25 | DIAG(err_drv_alignment_not_power_of_two, CLASS_ERROR, (unsigned)diag::Severity::Error, "alignment is not a power of 2 in '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
26 | DIAG(err_drv_amdgpu_ieee_without_no_honor_nans, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid argument '-mno-amdgpu-ieee' only allowed with relaxed NaN handling" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
27 | DIAG(err_drv_arg_requires_bitcode_input, CLASS_ERROR, (unsigned)diag::Severity::Error, "option '%0' requires input to be LLVM bitcode" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
28 | DIAG(err_drv_argument_not_allowed_with, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid argument '%0' not allowed with '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
29 | DIAG(err_drv_argument_only_allowed_with, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid argument '%0' only allowed with '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
30 | DIAG(err_drv_bad_offload_arch_combo, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid offload arch combinations: '%0' and '%1' (for a specific processor, a feature should either exist in all offload archs, or not exist in any offload archs)" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
31 | DIAG(err_drv_bad_target_id, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid target ID '%0'; format is a processor name followed by an optional colon-delimited list of features followed by an enable/disable sign (e.g., 'gfx908:sramecc+:xnack-')" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
32 | DIAG(err_drv_bitcode_unsupported_on_toolchain, CLASS_ERROR, (unsigned)diag::Severity::Error, "-fembed-bitcode is not supported on versions of iOS prior to 6.0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
33 | DIAG(err_drv_cannot_mix_options, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot specify '%1' along with '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
34 | DIAG(err_drv_cannot_open_config_file, CLASS_ERROR, (unsigned)diag::Severity::Error, "configuration file '%0' cannot be opened: %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
35 | DIAG(err_drv_cannot_open_randomize_layout_seed_file, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot read randomize layout seed file '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
36 | DIAG(err_drv_cannot_read_config_file, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot read configuration file '%0': %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
37 | DIAG(err_drv_cc_print_options_failure, CLASS_ERROR, (unsigned)diag::Severity::Error, "unable to open CC_PRINT_OPTIONS file: %0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
38 | DIAG(err_drv_clang_unsupported, CLASS_ERROR, (unsigned)diag::Severity::Error, "the clang compiler does not support '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
39 | DIAG(err_drv_clang_unsupported_opt_cxx_darwin_i386, CLASS_ERROR, (unsigned)diag::Severity::Error, "the clang compiler does not support '%0' for C++ on Darwin/i386" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
40 | DIAG(err_drv_clang_unsupported_opt_faltivec, CLASS_ERROR, (unsigned)diag::Severity::Error, "the clang compiler does not support '%0', %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
41 | DIAG(err_drv_clang_unsupported_opt_pg_darwin, CLASS_ERROR, (unsigned)diag::Severity::Error, "the clang compiler does not support -pg option on %select{Darwin|versions of OS X 10.9 and later}0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
42 | DIAG(err_drv_command_failed, CLASS_ERROR, (unsigned)diag::Severity::Error, "%0 command failed with exit code %1 (use -v to see invocation)" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
43 | DIAG(err_drv_command_failure, CLASS_ERROR, (unsigned)diag::Severity::Error, "unable to execute command: %0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
44 | DIAG(err_drv_command_signalled, CLASS_ERROR, (unsigned)diag::Severity::Error, "%0 command failed due to signal (use -v to see invocation)" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
45 | DIAG(err_drv_compilationdatabase, CLASS_ERROR, (unsigned)diag::Severity::Error, "compilation database '%0' could not be opened: %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
46 | DIAG(err_drv_config_file_not_found, CLASS_ERROR, (unsigned)diag::Severity::Error, "configuration file '%0' cannot be found" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
47 | DIAG(err_drv_conflicting_deployment_targets, CLASS_ERROR, (unsigned)diag::Severity::Error, "conflicting deployment targets, both '%0' and '%1' are present in environment" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
48 | DIAG(err_drv_cuda_bad_gpu_arch, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported CUDA gpu architecture: %0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
49 | DIAG(err_drv_cuda_host_arch, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported architecture '%0' for host compilation" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
50 | DIAG(err_drv_cuda_offload_only_emit_bc, CLASS_ERROR, (unsigned)diag::Severity::Error, "CUDA offload target is supported only along with --emit-llvm" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
51 | DIAG(err_drv_cuda_version_unsupported, CLASS_ERROR, (unsigned)diag::Severity::Error, "GPU arch %0 is supported by CUDA versions between %1 and %2 (inclusive), but installation at %3 is %4; use '--cuda-path' to specify a different CUDA install, pass a different GPU arch with '--cuda-gpu-arch', or pass '--no-cuda-version-check'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
52 | DIAG(err_drv_darwin_sdk_missing_arclite, CLASS_ERROR, (unsigned)diag::Severity::Error, "SDK does not contain 'libarclite' at the path '%0'; try increasing the minimum deployment target" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
53 | DIAG(err_drv_defsym_invalid_format, CLASS_ERROR, (unsigned)diag::Severity::Error, "defsym must be of the form: sym=value: %0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
54 | DIAG(err_drv_defsym_invalid_symval, CLASS_ERROR, (unsigned)diag::Severity::Error, "value is not an integer: %0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
55 | DIAG(err_drv_duplicate_config, CLASS_ERROR, (unsigned)diag::Severity::Error, "no more than one option '--config' is allowed" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
56 | DIAG(err_drv_dxc_missing_target_profile, CLASS_ERROR, (unsigned)diag::Severity::Error, "target profile option (-T) is missing" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
57 | DIAG(err_drv_emit_llvm_link, CLASS_ERROR, (unsigned)diag::Severity::Error, "-emit-llvm cannot be used when linking" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
58 | DIAG(err_drv_expand_response_file, CLASS_ERROR, (unsigned)diag::Severity::Error, "failed to expand response file: %0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
59 | DIAG(err_drv_expecting_fopenmp_with_fopenmp_targets, CLASS_ERROR, (unsigned)diag::Severity::Error, "'-fopenmp-targets' must be used in conjunction with a '-fopenmp' option compatible with offloading; e.g., '-fopenmp=libomp' or '-fopenmp=libiomp5'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
60 | DIAG(err_drv_experimental_crel, CLASS_ERROR, (unsigned)diag::Severity::Error, "-Wa,--allow-experimental-crel must be specified to use -Wa,--crel. CREL is experimental and uses a non-standard section type code" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
61 | DIAG(, CLASS_ERROR, (unsigned)diag::Severity::Error, "header file '%0' input '%1' does not match the type of prior input in api extraction; use '-x %2' to override" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
62 | DIAG(err_drv_failed_to_deduce_target_from_arch, CLASS_ERROR, (unsigned)diag::Severity::Error, "failed to deduce triple for target architecture '%0'; specify the triple using '-fopenmp-targets' and '-Xopenmp-target' instead" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
63 | DIAG(err_drv_force_crash, CLASS_ERROR, (unsigned)diag::Severity::Error, "failing because %select{environment variable 'FORCE_CLANG_DIAGNOSTICS_CRASH' is set|'-gen-reproducer' is used}0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
64 | DIAG(err_drv_gnustep_objc_runtime_incompatible_binary, CLASS_ERROR, (unsigned)diag::Severity::Error, "GNUstep Objective-C runtime version %0 incompatible with target binary format" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
65 | DIAG(, CLASS_ERROR, (unsigned)diag::Severity::Error, "multiple inputs are not valid for header units (first extra '%0')" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
66 | DIAG(err_drv_hipspv_no_hip_path, CLASS_ERROR, (unsigned)diag::Severity::Error, "'--hip-path' must be specified when offloading to SPIR-V unless '-nogpuinc' is given" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
67 | DIAG(err_drv_hlsl_16bit_types_unsupported, CLASS_ERROR, (unsigned)diag::Severity::Error, "'%0' option requires target HLSL Version >= 2018%select{| and shader model >= 6.2}1, but HLSL Version is '%2'%select{| and shader model is '%3'}1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
68 | DIAG(err_drv_hlsl_bad_shader_required_in_target, CLASS_ERROR, (unsigned)diag::Severity::Error, "%select{shader model|Vulkan environment|shader stage}0 is required as %select{OS|environment}1 in target '%2' for HLSL code generation" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
69 | DIAG(err_drv_hlsl_bad_shader_unsupported, CLASS_ERROR, (unsigned)diag::Severity::Error, "%select{shader model|Vulkan environment|shader stage}0 '%1' in target '%2' is invalid for HLSL code generation" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
70 | DIAG(err_drv_hlsl_unsupported_target, CLASS_ERROR, (unsigned)diag::Severity::Error, "HLSL code generation is unsupported for target '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
71 | DIAG(err_drv_incompatible_omp_arch, CLASS_ERROR, (unsigned)diag::Severity::Error, "OpenMP target architecture '%0' pointer size is incompatible with host '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
72 | DIAG(err_drv_incompatible_options, CLASS_ERROR, (unsigned)diag::Severity::Error, "the combination of '%0' and '%1' is incompatible" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
73 | DIAG(err_drv_incompatible_unwindlib, CLASS_ERROR, (unsigned)diag::Severity::Error, "--rtlib=libgcc requires --unwindlib=libgcc" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
74 | DIAG(err_drv_invalid_Xarch_argument_with_args, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid Xarch argument: '%0', options requiring arguments are unsupported" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
75 | DIAG(err_drv_invalid_Xopenmp_target_with_args, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid -Xopenmp-target argument: '%0', options requiring arguments are unsupported" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
76 | DIAG(err_drv_invalid_arch_name, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid arch name '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
77 | DIAG(err_drv_invalid_argument_to_option, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid argument '%0' to -%1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
78 | DIAG(err_drv_invalid_cf_runtime_abi, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid CoreFoundation Runtime ABI '%0'; must be one of 'objc', 'standalone', 'swift', 'swift-5.0', 'swift-4.2', 'swift-4.1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
79 | DIAG(err_drv_invalid_darwin_version, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid Darwin version number: %0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
80 | DIAG(err_drv_invalid_diagnotics_hotness_threshold, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid argument in '%0', only integer or 'auto' is supported" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
81 | DIAG(err_drv_invalid_diagnotics_misexpect_tolerance, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid argument in '%0', only integers are supported" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
82 | DIAG(err_drv_invalid_directx_shader_module, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid profile : %0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
83 | DIAG(err_drv_invalid_empty_dxil_validator_version, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid validator version : %0; if validator major version is 0, minor version must also be 0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
84 | DIAG(err_drv_invalid_format_dxil_validator_version, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid validator version : %0; format of validator version is \"<major>.<minor>\" (ex:\"1.4\")" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
85 | DIAG(err_drv_invalid_gcc_install_dir, CLASS_ERROR, (unsigned)diag::Severity::Error, "'%0' does not contain a GCC installation" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
86 | DIAG(err_drv_invalid_gcc_output_type, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid output type '%0' for use with gcc tool" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
87 | DIAG(err_drv_invalid_int_value, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid integral value '%1' in '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
88 | DIAG(err_drv_invalid_linker_name, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid linker name in argument '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
89 | DIAG(err_drv_invalid_malign_branch_EQ, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid argument '%0' to -malign-branch=; each element must be one of: %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
90 | DIAG(err_drv_invalid_mfloat_abi, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid float ABI '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
91 | DIAG(err_drv_invalid_mtp, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid thread pointer reading mode '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
92 | DIAG(err_drv_invalid_object_mode, CLASS_ERROR, (unsigned)diag::Severity::Error, "OBJECT_MODE setting %0 is not recognized and is not a valid setting" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
93 | DIAG(err_drv_invalid_omp_target, CLASS_ERROR, (unsigned)diag::Severity::Error, "OpenMP target is invalid: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
94 | DIAG(err_drv_invalid_or_unsupported_offload_target, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid or unsupported offload target: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
95 | DIAG(err_drv_invalid_os_in_arg, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid OS value '%0' in '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
96 | DIAG(err_drv_invalid_output_with_multiple_archs, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot use '%0' output with multiple -arch options" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
97 | DIAG(err_drv_invalid_range_dxil_validator_version, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid validator version : %0; validator version must be less than or equal to current internal version" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
98 | DIAG(err_drv_invalid_remap_file, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid option '%0' not of the form <from-file>;<to-file>" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
99 | DIAG(err_drv_invalid_riscv_arch_name, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid arch name '%0', %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
100 | DIAG(err_drv_invalid_riscv_cpu_name_for_target, CLASS_ERROR, (unsigned)diag::Severity::Error, "cpu '%0' does not support rv%select{32|64}1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
101 | DIAG(err_drv_invalid_rtlib_name, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid runtime library name in argument '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
102 | DIAG(err_drv_invalid_stdlib_name, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid library name in argument '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
103 | DIAG(err_drv_invalid_thread_model_for_target, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid thread model '%0' in '%1' for this target" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
104 | DIAG(err_drv_invalid_unwindlib_name, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid unwind library name in argument '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
105 | DIAG(err_drv_invalid_value, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid value '%1' in '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
106 | DIAG(err_drv_invalid_value_with_suggestion, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid value '%1' in '%0', expected one of: %2" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
107 | DIAG(err_drv_invalid_version_number, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid version number in '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
108 | DIAG(err_drv_loongarch_invalid_mfpu_EQ, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid argument '%0' to -mfpu=; must be one of: 64, 32, none, 0 (alias for none)" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
109 | DIAG(err_drv_loongarch_invalid_msimd_EQ, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid argument '%0' to -msimd=; must be one of: none, lsx, lasx" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
110 | DIAG(err_drv_loongarch_invalid_simd_option_combination, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid option combination; LASX depends on LSX" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
111 | DIAG(err_drv_loongarch_wrong_fpu_width, CLASS_ERROR, (unsigned)diag::Severity::Error, "wrong fpu width; %select{LSX|LASX}0 depends on 64-bit FPU" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
112 | DIAG(err_drv_lto_without_lld, CLASS_ERROR, (unsigned)diag::Severity::Error, "LTO requires -fuse-ld=lld" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
113 | DIAG(err_drv_malformed_sanitizer_coverage_allowlist, CLASS_ERROR, (unsigned)diag::Severity::Error, "malformed sanitizer coverage allowlist: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
114 | DIAG(err_drv_malformed_sanitizer_coverage_ignorelist, CLASS_ERROR, (unsigned)diag::Severity::Error, "malformed sanitizer coverage ignorelist: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
115 | DIAG(err_drv_malformed_sanitizer_ignorelist, CLASS_ERROR, (unsigned)diag::Severity::Error, "malformed sanitizer ignorelist: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
116 | DIAG(err_drv_malformed_sanitizer_metadata_ignorelist, CLASS_ERROR, (unsigned)diag::Severity::Error, "malformed sanitizer metadata ignorelist: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
117 | DIAG(err_drv_mg_requires_m_or_mm, CLASS_ERROR, (unsigned)diag::Severity::Error, "option '-MG' requires '-M' or '-MM'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
118 | DIAG(err_drv_missing_arg_mtp, CLASS_ERROR, (unsigned)diag::Severity::Error, "missing argument to '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
119 | DIAG(err_drv_missing_argument, CLASS_ERROR, (unsigned)diag::Severity::Error, "argument to '%0' is missing (expected %1 value%s1)" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
120 | DIAG(err_drv_missing_sanitizer_ignorelist, CLASS_ERROR, (unsigned)diag::Severity::Error, "missing sanitizer ignorelist: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
121 | DIAG(err_drv_missing_symbol_graph_dir, CLASS_ERROR, (unsigned)diag::Severity::Error, "must provide a symbol graph output directory using '--symbol-graph-dir=<directory>'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
122 | DIAG(err_drv_mix_cuda_hip, CLASS_ERROR, (unsigned)diag::Severity::Error, "mixed CUDA and HIP compilation is not supported" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
123 | DIAG(, CLASS_ERROR, (unsigned)diag::Severity::Error, "header file '%0' input type '%1' does not match type of prior input in module compilation; use '-x %2' to override" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
124 | DIAG(err_drv_module_output_with_multiple_arch, CLASS_ERROR, (unsigned)diag::Severity::Error, "option '-fmodule-output' can't be used with multiple arch options" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
125 | DIAG(err_drv_modules_validate_once_requires_timestamp, CLASS_ERROR, (unsigned)diag::Severity::Error, "option '-fmodules-validate-once-per-build-session' requires '-fbuild-session-timestamp=<seconds since Epoch>' or '-fbuild-session-file=<file>'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
126 | DIAG(err_drv_needs_hvx, CLASS_ERROR, (unsigned)diag::Severity::Error, "%0 requires HVX, use -mhvx/-mhvx= to enable it" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
127 | DIAG(err_drv_needs_hvx_version, CLASS_ERROR, (unsigned)diag::Severity::Error, "%0 is not supported on HVX %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
128 | DIAG(err_drv_negative_columns, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid value '%1' in '%0', value must be 'none' or a positive integer" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
129 | DIAG(err_drv_no_ast_support, CLASS_ERROR, (unsigned)diag::Severity::Error, "'%0': unable to use AST files with this tool" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
130 | DIAG(err_drv_no_cuda_installation, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot find CUDA installation; provide its path via '--cuda-path', or pass '-nocudainc' to build without CUDA includes" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
131 | DIAG(err_drv_no_cuda_libdevice, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot find libdevice for %0; provide path to different CUDA installation via '--cuda-path', or pass '-nocudalib' to build without linking with libdevice" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
132 | DIAG(err_drv_no_hip_runtime, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot find HIP runtime; provide its path via '--rocm-path', or pass '-nogpuinc' to build without HIP runtime" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
133 | DIAG(err_drv_no_hipspv_device_lib, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot find HIP device library%select{| for %1}0; provide its path via '--hip-path' or '--hip-device-lib-path', or pass '-nogpulib' to build without HIP device library" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
134 | DIAG(err_drv_no_hipstdpar_lib, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot find HIP Standard Parallelism Acceleration library; provide it via '--hipstdpar-path'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
135 | DIAG(err_drv_no_hipstdpar_prim_lib, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot find rocPrim, which is required by the HIP Standard Parallelism Acceleration library; provide it via '--hipstdpar-prim-path'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
136 | DIAG(err_drv_no_hipstdpar_thrust_lib, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot find rocThrust, which is required by the HIP Standard Parallelism Acceleration library; provide it via '--hipstdpar-thrust-path'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
137 | DIAG(err_drv_no_input_files, CLASS_ERROR, (unsigned)diag::Severity::Error, "no input files" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
138 | DIAG(err_drv_no_linker_llvm_support, CLASS_ERROR, (unsigned)diag::Severity::Error, "'%0': unable to pass LLVM bit-code files to linker" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
139 | DIAG(err_drv_no_module_support, CLASS_ERROR, (unsigned)diag::Severity::Error, "'%0': unable to use module files with this tool" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
140 | DIAG(err_drv_no_neon_modifier, CLASS_ERROR, (unsigned)diag::Severity::Error, "[no]neon is not accepted as modifier, please use [no]simd instead" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
141 | DIAG(err_drv_no_rocm_device_lib, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot find ROCm device library%select{| for %1|for ABI version %1}0; provide its path via '--rocm-path' or '--rocm-device-lib-path', or pass '-nogpulib' to build without ROCm device library" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
142 | DIAG(err_drv_no_such_file, CLASS_ERROR, (unsigned)diag::Severity::Error, "no such file or directory: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
143 | DIAG(err_drv_no_such_file_with_suggestion, CLASS_ERROR, (unsigned)diag::Severity::Error, "no such file or directory: '%0'; did you mean '%1'?" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
144 | DIAG(err_drv_offload_bad_gpu_arch, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported %0 gpu architecture: %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
145 | DIAG(err_drv_offload_missing_gpu_arch, CLASS_ERROR, (unsigned)diag::Severity::Error, "must pass in an explicit %0 gpu architecture to '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
146 | DIAG(err_drv_omp_host_ir_file_not_found, CLASS_ERROR, (unsigned)diag::Severity::Error, "provided host compiler IR file '%0' is required to generate code for OpenMP target regions but cannot be found" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
147 | DIAG(err_drv_omp_host_target_not_supported, CLASS_ERROR, (unsigned)diag::Severity::Error, "target '%0' is not a supported OpenMP host target" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
148 | DIAG(err_drv_omp_offload_target_bcruntime_not_found, CLASS_ERROR, (unsigned)diag::Severity::Error, "bitcode library '%0' does not exist" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
149 | DIAG(err_drv_omp_offload_target_cuda_version_not_support, CLASS_ERROR, (unsigned)diag::Severity::Error, "NVPTX target requires CUDA 9.2 or above; CUDA %0 detected" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
150 | DIAG(err_drv_omp_offload_target_missingbcruntime, CLASS_ERROR, (unsigned)diag::Severity::Error, "no library '%0' found in the default clang lib directory or in LIBRARY_PATH; use '--libomptarget-%1-bc-path' to specify %1 bitcode library" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
151 | DIAG(err_drv_only_one_offload_target_supported, CLASS_ERROR, (unsigned)diag::Severity::Error, "only one offload target is supported" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
152 | DIAG(err_drv_opt_unsupported_input_type, CLASS_ERROR, (unsigned)diag::Severity::Error, "'%0' invalid for input of type %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
153 | DIAG(, CLASS_ERROR, (unsigned)diag::Severity::Error, "unknown remark serializer format: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
154 | DIAG(, CLASS_ERROR, (unsigned)diag::Severity::Error, "in pattern '%1': %0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
155 | DIAG(err_drv_out_file_argument_with_multiple_sources, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot specify '%0%1' when compiling multiple source files" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
156 | DIAG(err_drv_output_argument_with_multiple_files, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot specify -o when generating multiple output files" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
157 | DIAG(err_drv_preamble_format, CLASS_ERROR, (unsigned)diag::Severity::Error, "incorrect format for -preamble-bytes=N,END" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
158 | DIAG(, CLASS_ERROR, (unsigned)diag::Severity::Error, "environment variable CC_PRINT_HEADERS_%select{FORMAT|FILTERING}0 has invalid value %1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
159 | DIAG(, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported combination: CC_PRINT_HEADERS_FORMAT=%0 and CC_PRINT_HEADERS_FILTERING=%1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
160 | DIAG(, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported combination: -header-include-format=%0 and -header-include-filtering=%1" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
161 | DIAG(err_drv_riscv_unsupported_with_linker_relaxation, CLASS_ERROR, (unsigned)diag::Severity::Error, "%0 is unsupported with RISC-V linker relaxation (-mrelax)" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
162 | DIAG(err_drv_ropi_incompatible_with_cxx, CLASS_ERROR, (unsigned)diag::Severity::Error, "ROPI is not compatible with c++" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
163 | DIAG(err_drv_ropi_rwpi_incompatible_with_pic, CLASS_ERROR, (unsigned)diag::Severity::Error, "embedded and GOT-based position independence are incompatible" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
164 | DIAG(err_drv_small_columns, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid value '%1' in '%0', value must be '%2' or greater" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
165 | DIAG(err_drv_ssp_missing_offset_argument, CLASS_ERROR, (unsigned)diag::Severity::Error, "'%0' is used without '-mstack-protector-guard-offset', and there is no default" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
166 | DIAG(err_drv_target_variant_invalid, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported '%0' value '%1'; use 'ios-macabi' instead" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
167 | DIAG(err_drv_triple_version_invalid, CLASS_ERROR, (unsigned)diag::Severity::Error, "version '%0' in target triple '%1' is invalid" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
168 | DIAG(err_drv_trivial_auto_var_init_max_size_invalid_value, CLASS_ERROR, (unsigned)diag::Severity::Error, "'-ftrivial-auto-var-init-max-size=*' only accepts positive integers (in bytes)" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
169 | DIAG(err_drv_trivial_auto_var_init_max_size_missing_dependency, CLASS_ERROR, (unsigned)diag::Severity::Error, "'-ftrivial-auto-var-init-max-size=*' is used without '-ftrivial-auto-var-init=zero' or '-ftrivial-auto-var-init=pattern'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
170 | DIAG(err_drv_trivial_auto_var_init_stop_after_invalid_value, CLASS_ERROR, (unsigned)diag::Severity::Error, "'-ftrivial-auto-var-init-stop-after=*' only accepts positive integers" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
171 | DIAG(err_drv_trivial_auto_var_init_stop_after_missing_dependency, CLASS_ERROR, (unsigned)diag::Severity::Error, "'-ftrivial-auto-var-init-stop-after=*' is used without '-ftrivial-auto-var-init=zero' or '-ftrivial-auto-var-init=pattern'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
172 | DIAG(err_drv_unable_to_remove_file, CLASS_ERROR, (unsigned)diag::Severity::Error, "unable to remove file: %0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
173 | DIAG(err_drv_unable_to_set_working_directory, CLASS_ERROR, (unsigned)diag::Severity::Error, "unable to set working directory: %0" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
174 | DIAG(err_drv_undetermined_gpu_arch, CLASS_ERROR, (unsigned)diag::Severity::Error, "cannot determine %0 architecture: %1; consider passing it via '%2'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
175 | DIAG(err_drv_unexpected_symbol_graph_output, CLASS_ERROR, (unsigned)diag::Severity::Error, "unexpected output symbol graph '%1'; please provide '--symbol-graph-dir=<directory>' instead" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
176 | DIAG(err_drv_unknown_argument, CLASS_ERROR, (unsigned)diag::Severity::Error, "unknown argument: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
177 | DIAG(err_drv_unknown_argument_with_suggestion, CLASS_ERROR, (unsigned)diag::Severity::Error, "unknown argument '%0'; did you mean '%1'?" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
178 | DIAG(err_drv_unknown_indirect_jump_opt, CLASS_ERROR, (unsigned)diag::Severity::Error, "unknown '-mindirect-jump=' option '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
179 | DIAG(err_drv_unknown_language, CLASS_ERROR, (unsigned)diag::Severity::Error, "language not recognized: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
180 | DIAG(err_drv_unknown_objc_runtime, CLASS_ERROR, (unsigned)diag::Severity::Error, "unknown or ill-formed Objective-C runtime '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
181 | DIAG(err_drv_unknown_stdin_type, CLASS_ERROR, (unsigned)diag::Severity::Error, "-E or -x required when input is from standard input" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
182 | DIAG(err_drv_unknown_stdin_type_clang_cl, CLASS_ERROR, (unsigned)diag::Severity::Error, "use /Tc or /Tp to set input type for standard input" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
183 | DIAG(err_drv_unknown_target_triple, CLASS_ERROR, (unsigned)diag::Severity::Error, "unknown target triple '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
184 | DIAG(err_drv_unsupported_embed_bitcode, CLASS_ERROR, (unsigned)diag::Severity::Error, "%0 is not supported with -fembed-bitcode" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
185 | DIAG(err_drv_unsupported_fpatchable_function_entry_argument, CLASS_ERROR, (unsigned)diag::Severity::Error, "the second argument of '-fpatchable-function-entry' must be smaller than the first argument" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
186 | DIAG(err_drv_unsupported_indirect_jump_opt, CLASS_ERROR, (unsigned)diag::Severity::Error, "'-mindirect-jump=%0' is unsupported with the '%1' architecture" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
187 | DIAG(err_drv_unsupported_noabicalls_pic, CLASS_ERROR, (unsigned)diag::Severity::Error, "position-independent code requires '-mabicalls'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
188 | DIAG(err_drv_unsupported_opt, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported option '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
189 | DIAG(err_drv_unsupported_opt_for_language_mode, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported option '%0' for language mode '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
190 | DIAG(err_drv_unsupported_opt_for_target, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported option '%0' for target '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
191 | DIAG(err_drv_unsupported_opt_with_suggestion, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported option '%0'; did you mean '%1'?" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
192 | DIAG(err_drv_unsupported_option_argument, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported argument '%1' to option '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
193 | DIAG(err_drv_unsupported_option_argument_for_target, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported argument '%1' to option '%0' for target '%2'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
194 | DIAG(err_drv_unsupported_rtlib_for_platform, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported runtime library '%0' for platform '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
195 | DIAG(err_drv_unsupported_static_sanitizer_darwin, CLASS_ERROR, (unsigned)diag::Severity::Error, "static %0 runtime is not supported on darwin" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
196 | DIAG(err_drv_unsupported_unwind_for_platform, CLASS_ERROR, (unsigned)diag::Severity::Error, "unsupported unwind library '%0' for platform '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
197 | DIAG(err_drv_using_omit_rtti_component_without_no_rtti, CLASS_ERROR, (unsigned)diag::Severity::Error, "-fexperimental-omit-vtable-rtti call only be used with -fno-rtti" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
198 | DIAG(err_invalid_cxx_abi, CLASS_ERROR, (unsigned)diag::Severity::Error, "invalid C++ ABI name '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
199 | DIAG(err_invalid_macos_32bit_deployment_target, CLASS_ERROR, (unsigned)diag::Severity::Error, "32-bit targets are not supported when building for Mac Catalyst" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
200 | DIAG(err_missing_sysroot, CLASS_ERROR, (unsigned)diag::Severity::Error, "no such sysroot directory: '%0'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
201 | DIAG(err_no_external_assembler, CLASS_ERROR, (unsigned)diag::Severity::Error, "there is no external assembler that can be used on this platform" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
202 | DIAG(err_objc_weak_unsupported, CLASS_ERROR, (unsigned)diag::Severity::Error, "-fobjc-weak is not supported on the current deployment target" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
203 | DIAG(err_objc_weak_with_gc, CLASS_ERROR, (unsigned)diag::Severity::Error, "-fobjc-weak is not supported in Objective-C garbage collection" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
204 | DIAG(err_roptr_cannot_build_shared, CLASS_ERROR, (unsigned)diag::Severity::Error, "-mxcoff-roptr is not supported with -shared" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
205 | DIAG(err_roptr_requires_data_sections, CLASS_ERROR, (unsigned)diag::Severity::Error, "-mxcoff-roptr is supported only with -fdata-sections" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
206 | DIAG(err_sls_hardening_arm_not_supported, CLASS_ERROR, (unsigned)diag::Severity::Error, "-mharden-sls is only supported on armv7-a or later" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
207 | DIAG(err_stack_tagging_requires_hardware_feature, CLASS_ERROR, (unsigned)diag::Severity::Error, "'-fsanitize=memtag-stack' requires hardware support (+memtag). For Armv8 or Armv9, try compiling with -march=armv8a+memtag or -march=armv9a+memtag" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
208 | DIAG(err_target_unsupported_arch, CLASS_ERROR, (unsigned)diag::Severity::Error, "the target architecture '%0' is not supported by the target '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
209 | DIAG(err_test_module_file_extension_format, CLASS_ERROR, (unsigned)diag::Severity::Error, "-ftest-module-file-extension argument '%0' is not of the required form 'blockname:major:minor:hashed:user info'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
210 | DIAG(err_unsupported_cxx_abi, CLASS_ERROR, (unsigned)diag::Severity::Error, "C++ ABI '%0' is not supported on target triple '%1'" , 0, SFINAE_SubstitutionFailure, false, true, true, false, 0) |
211 | DIAG(note_cc1_round_trip_generated, CLASS_NOTE, (unsigned)diag::Severity::Fatal, "generated arguments #%0 in round-trip: %1" , 0, SFINAE_Suppress, false, false, true, false, 0) |
212 | DIAG(note_cc1_round_trip_original, CLASS_NOTE, (unsigned)diag::Severity::Fatal, "original arguments in round-trip: %0" , 0, SFINAE_Suppress, false, false, true, false, 0) |
213 | DIAG(note_drv_address_sanitizer_debug_runtime, CLASS_NOTE, (unsigned)diag::Severity::Fatal, "AddressSanitizer doesn't support linking with debug runtime libraries yet" , 0, SFINAE_Suppress, false, false, true, false, 0) |
214 | DIAG(note_drv_available_multilibs, CLASS_NOTE, (unsigned)diag::Severity::Fatal, "available multilibs are:%0" , 0, SFINAE_Suppress, false, false, true, false, 0) |
215 | DIAG(note_drv_command_failed_diag_msg, CLASS_NOTE, (unsigned)diag::Severity::Fatal, "diagnostic msg: %0" , 0, SFINAE_Suppress, false, false, true, false, 0) |
216 | DIAG(note_drv_config_file_searched_in, CLASS_NOTE, (unsigned)diag::Severity::Fatal, "was searched for in the directory: %0" , 0, SFINAE_Suppress, false, false, true, false, 0) |
217 | DIAG(note_drv_t_option_is_global, CLASS_NOTE, (unsigned)diag::Severity::Fatal, "the last '/TC' or '/TP' option takes precedence over earlier instances" , 0, SFINAE_Suppress, false, false, true, false, 0) |
218 | DIAG(note_drv_use_standard, CLASS_NOTE, (unsigned)diag::Severity::Fatal, "use '%0'%select{| or '%3'|, '%3', or '%4'|, '%3', '%4', or '%5'}2 for '%1' standard" , 0, SFINAE_Suppress, false, false, true, false, 0) |
219 | DIAG(note_drv_verify_prefix_spelling, CLASS_NOTE, (unsigned)diag::Severity::Fatal, "-verify prefixes must start with a letter and contain only alphanumeric characters, hyphens, and underscores" , 0, SFINAE_Suppress, false, false, true, false, 0) |
220 | DIAG(note_use_dashdash, CLASS_NOTE, (unsigned)diag::Severity::Fatal, "use '--' to treat subsequent arguments as filenames" , 0, SFINAE_Suppress, false, false, true, false, 0) |
221 | DIAG(, CLASS_REMARK, (unsigned)diag::Severity::Ignored, "generated arguments #%0 in round-trip: %1" , 813, SFINAE_Suppress, false, false, true, false, 0) |
222 | DIAG(warn_O4_is_O3, CLASS_WARNING, (unsigned)diag::Severity::Warning, "-O4 is equivalent to -O3" , 228, SFINAE_Suppress, false, false, true, false, 34) |
223 | DIAG(warn_android_unversioned_fallback, CLASS_WARNING, (unsigned)diag::Severity::Warning, "using unversioned Android target directory %0 for target %1; unversioned directories will not be used in Clang 19 -- provide a versioned directory for the target version or lower instead" , 29, SFINAE_Suppress, false, false, true, false, 0) |
224 | DIAG(warn_c_kext, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring -fapple-kext which is valid for C++ and Objective-C++ only" , 0, SFINAE_Suppress, false, false, true, false, 0) |
225 | DIAG(warn_debug_compression_unavailable, CLASS_WARNING, (unsigned)diag::Severity::Warning, "cannot compress debug sections (%0 not enabled)" , 217, SFINAE_Suppress, false, false, true, false, 0) |
226 | DIAG(warn_drv_amdgpu_cov6, CLASS_WARNING, (unsigned)diag::Severity::Warning, "code object v6 is still in development and not ready for production use yet; use at your own risk" , 0, SFINAE_Suppress, false, false, true, false, 0) |
227 | DIAG(warn_drv_assuming_mfloat_abi_is, CLASS_WARNING, (unsigned)diag::Severity::Warning, "unknown platform, assuming -mfloat-abi=%0" , 0, SFINAE_Suppress, false, false, true, false, 0) |
228 | DIAG(warn_drv_avr_family_linking_stdlibs_not_implemented, CLASS_WARNING, (unsigned)diag::Severity::Warning, "support for linking stdlibs for microcontroller '%0' is not implemented" , 68, SFINAE_Suppress, false, false, true, false, 0) |
229 | DIAG(warn_drv_avr_libc_not_found, CLASS_WARNING, (unsigned)diag::Severity::Warning, "no avr-libc installation can be found on the system, cannot link standard libraries" , 68, SFINAE_Suppress, false, false, true, false, 0) |
230 | DIAG(warn_drv_avr_linker_section_addresses_not_implemented, CLASS_WARNING, (unsigned)diag::Severity::Warning, "support for passing the data section address to the linker for microcontroller '%0' is not implemented" , 68, SFINAE_Suppress, false, false, true, false, 0) |
231 | DIAG(warn_drv_avr_mcu_not_specified, CLASS_WARNING, (unsigned)diag::Severity::Warning, "no target microcontroller specified on command line, cannot link standard libraries, please pass -mmcu=<mcu name>" , 68, SFINAE_Suppress, false, false, true, false, 0) |
232 | DIAG(warn_drv_avr_stdlib_not_linked, CLASS_WARNING, (unsigned)diag::Severity::Warning, "standard library not linked and so no interrupt vector table or compiler runtime routines will be linked" , 68, SFINAE_Suppress, false, false, true, false, 0) |
233 | DIAG(warn_drv_clang_unsupported, CLASS_WARNING, (unsigned)diag::Severity::Warning, "the clang compiler does not support '%0'" , 0, SFINAE_Suppress, false, false, true, false, 0) |
234 | DIAG(warn_drv_darwin_sdk_invalid_settings, CLASS_WARNING, (unsigned)diag::Severity::Warning, "SDK settings were ignored as 'SDKSettings.json' could not be parsed" , 214, SFINAE_Suppress, false, false, true, false, 0) |
235 | DIAG(warn_drv_delayed_template_parsing_after_cxx20, CLASS_WARNING, (unsigned)diag::Severity::Warning, "-fdelayed-template-parsing is deprecated after C++20" , 220, SFINAE_Suppress, false, false, true, false, 0) |
236 | DIAG(warn_drv_deprecated_arg, CLASS_WARNING, (unsigned)diag::Severity::Warning, "argument '%0' is deprecated%select{|, use '%2' instead}1" , 228, SFINAE_Suppress, false, false, true, false, 34) |
237 | DIAG(warn_drv_deprecated_arg_no_relaxed_template_template_args, CLASS_WARNING, (unsigned)diag::Severity::Warning, "argument '-fno-relaxed-template-template-args' is deprecated" , 251, SFINAE_Suppress, false, false, true, false, 34) |
238 | DIAG(warn_drv_deprecated_arg_ofast, CLASS_WARNING, (unsigned)diag::Severity::Warning, "argument '-Ofast' is deprecated; use '-O3 -ffast-math' for the same behavior, or '-O3' to enable only conforming optimizations" , 256, SFINAE_Suppress, false, false, true, false, 34) |
239 | DIAG(warn_drv_deprecated_custom, CLASS_WARNING, (unsigned)diag::Severity::Warning, "argument '%0' is deprecated, %1" , 228, SFINAE_Suppress, false, false, true, false, 34) |
240 | DIAG(warn_drv_diagnostics_hotness_requires_pgo, CLASS_WARNING, (unsigned)diag::Severity::Warning, "argument '%0' requires profile-guided optimization information" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
241 | DIAG(warn_drv_diagnostics_misexpect_requires_pgo, CLASS_WARNING, (unsigned)diag::Severity::Warning, "argument '%0' requires profile-guided optimization information" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
242 | DIAG(warn_drv_disabling_vptr_no_rtti_default, CLASS_WARNING, (unsigned)diag::Severity::Warning, "implicitly disabling vptr sanitizer because rtti wasn't enabled" , 63, SFINAE_Suppress, false, false, true, false, 0) |
243 | DIAG(warn_drv_dwarf_version_limited_by_target, CLASS_WARNING, (unsigned)diag::Severity::Warning, "debug information option '%0' is not supported; requires DWARF-%2 but target '%1' only provides DWARF-%3" , 998, SFINAE_Suppress, false, false, true, false, 0) |
244 | DIAG(warn_drv_dxc_missing_dxv, CLASS_WARNING, (unsigned)diag::Severity::Warning, "dxv not found; resulting DXIL will not be validated or signed for use in release environment" , 288, SFINAE_Suppress, false, false, true, false, 0) |
245 | DIAG(warn_drv_empty_joined_argument, CLASS_WARNING, (unsigned)diag::Severity::Warning, "joined argument expects additional value: '%0'" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
246 | DIAG(warn_drv_fine_grained_bitfield_accesses_ignored, CLASS_WARNING, (unsigned)diag::Severity::Warning, "option '-ffine-grained-bitfield-accesses' cannot be enabled together with a sanitizer; flag ignored" , 697, SFINAE_Suppress, false, false, true, false, 0) |
247 | DIAG(warn_drv_fjmc_for_elf_only, CLASS_WARNING, (unsigned)diag::Severity::Warning, "-fjmc works only for ELF; option ignored" , 697, SFINAE_Suppress, false, false, true, false, 0) |
248 | DIAG(warn_drv_fraw_string_literals_in_cxx11, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '-f%select{no-|}0raw-string-literals', which is only valid for C and C++ standards before C++11" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
249 | DIAG(warn_drv_fuse_ld_path, CLASS_WARNING, (unsigned)diag::Severity::Ignored, "'-fuse-ld=' taking a path is deprecated; use '--ld-path=' instead" , 367, SFINAE_Suppress, false, false, true, false, 0) |
250 | DIAG(warn_drv_global_isel_incomplete, CLASS_WARNING, (unsigned)diag::Severity::Warning, "-fglobal-isel support for the '%0' architecture is incomplete" , 372, SFINAE_Suppress, false, false, true, false, 0) |
251 | DIAG(warn_drv_global_isel_incomplete_opt, CLASS_WARNING, (unsigned)diag::Severity::Warning, "-fglobal-isel support is incomplete for this architecture at the current optimization level" , 372, SFINAE_Suppress, false, false, true, false, 0) |
252 | DIAG(warn_drv_input_file_unused, CLASS_WARNING, (unsigned)diag::Severity::Warning, "%0: '%1' input unused%select{ when '%3' is present|}2" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
253 | DIAG(warn_drv_input_file_unused_by_cpp, CLASS_WARNING, (unsigned)diag::Severity::Warning, "%0: '%1' input unused in cpp mode" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
254 | DIAG(warn_drv_invalid_arch_name_with_suggestion, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring invalid /arch: argument '%0'; for %select{64|32}1-bit expected one of %2" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
255 | DIAG(warn_drv_jmc_requires_debuginfo, CLASS_WARNING, (unsigned)diag::Severity::Warning, "%0 requires debug info. Use %1 or debug options that enable debugger's stepping function; option ignored" , 697, SFINAE_Suppress, false, false, true, false, 0) |
256 | DIAG(warn_drv_large_data_threshold_invalid_code_model, CLASS_WARNING, (unsigned)diag::Severity::Warning, "'%0' only applies to medium and large code models" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
257 | DIAG(warn_drv_libstdcxx_not_found, CLASS_WARNING, (unsigned)diag::Severity::Warning, "include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead" , 870, SFINAE_Suppress, false, false, true, false, 0) |
258 | DIAG(warn_drv_loongarch_conflicting_implied_val, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '%0' as it conflicts with that implied by '%1' (%2)" , 697, SFINAE_Suppress, false, false, true, false, 0) |
259 | DIAG(warn_drv_missing_multilib, CLASS_WARNING, (unsigned)diag::Severity::Warning, "no multilib found matching flags: %0" , 574, SFINAE_Suppress, false, false, true, false, 0) |
260 | DIAG(warn_drv_missing_plugin_arg, CLASS_WARNING, (unsigned)diag::Severity::Warning, "missing plugin argument for plugin %0 in %1" , 480, SFINAE_Suppress, false, false, true, false, 0) |
261 | DIAG(warn_drv_missing_plugin_name, CLASS_WARNING, (unsigned)diag::Severity::Warning, "missing plugin name in %0" , 480, SFINAE_Suppress, false, false, true, false, 0) |
262 | DIAG(warn_drv_moutline_atomics_unsupported_opt, CLASS_WARNING, (unsigned)diag::Severity::Warning, "'%0' does not support '-%1'; flag ignored" , 697, SFINAE_Suppress, false, false, true, false, 0) |
263 | DIAG(warn_drv_moutline_unsupported_opt, CLASS_WARNING, (unsigned)diag::Severity::Warning, "'%0' does not support '-moutline'; flag ignored" , 697, SFINAE_Suppress, false, false, true, false, 0) |
264 | DIAG(warn_drv_msp430_hwmult_mismatch, CLASS_WARNING, (unsigned)diag::Severity::Warning, "the given MCU supports %0 hardware multiply, but '-mhwmult' is set to %1" , 480, SFINAE_Suppress, false, false, true, false, 0) |
265 | DIAG(warn_drv_msp430_hwmult_no_device, CLASS_WARNING, (unsigned)diag::Severity::Warning, "no MCU device specified, but '-mhwmult' is set to 'auto', assuming no hardware multiply; use '-mmcu' to specify an MSP430 device, or '-mhwmult' to set the hardware multiply type explicitly" , 480, SFINAE_Suppress, false, false, true, false, 0) |
266 | DIAG(warn_drv_msp430_hwmult_unsupported, CLASS_WARNING, (unsigned)diag::Severity::Warning, "the given MCU does not support hardware multiply, but '-mhwmult' is set to %0" , 480, SFINAE_Suppress, false, false, true, false, 0) |
267 | DIAG(warn_drv_msvc_not_found, CLASS_WARNING, (unsigned)diag::Severity::Warning, "unable to find a Visual Studio installation; try running Clang from a developer command prompt" , 598, SFINAE_Suppress, false, false, true, false, 0) |
268 | DIAG(warn_drv_multi_gpu_arch, CLASS_WARNING, (unsigned)diag::Severity::Warning, "multiple %0 architectures are detected: %1; only the first one is used for '%2'" , 599, SFINAE_Suppress, false, false, true, false, 0) |
269 | DIAG(warn_drv_needs_hvx, CLASS_WARNING, (unsigned)diag::Severity::Warning, "%0 requires HVX, use -mhvx/-mhvx= to enable it" , 697, SFINAE_Suppress, false, false, true, false, 0) |
270 | DIAG(warn_drv_new_cuda_version, CLASS_WARNING, (unsigned)diag::Severity::Warning, "CUDA version%0 is newer than the latest%select{| partially}1 supported version %2" , 969, SFINAE_Suppress, false, false, true, false, 0) |
271 | DIAG(warn_drv_no_floating_point_registers, CLASS_WARNING, (unsigned)diag::Severity::Warning, "'%0': selected processor lacks floating point registers" , 989, SFINAE_Suppress, false, false, true, false, 0) |
272 | DIAG(warn_drv_object_size_disabled_O0, CLASS_WARNING, (unsigned)diag::Severity::Warning, "the object size sanitizer has no effect at -O0, but is explicitly enabled: %0" , 480, SFINAE_Suppress, true, false, true, false, 0) |
273 | DIAG(warn_drv_omp_offload_target_duplicate, CLASS_WARNING, (unsigned)diag::Severity::Warning, "OpenMP offloading target '%0' is similar to target '%1' already specified; will be ignored" , 695, SFINAE_Suppress, false, false, true, false, 0) |
274 | DIAG(warn_drv_optimization_value, CLASS_WARNING, (unsigned)diag::Severity::Warning, "optimization level '%0' is not supported; using '%1%2' instead" , 480, SFINAE_Suppress, false, false, true, false, 0) |
275 | DIAG(warn_drv_overriding_option, CLASS_WARNING, (unsigned)diag::Severity::Warning, "overriding '%0' option with '%1'" , 709, SFINAE_Suppress, false, false, true, false, 0) |
276 | DIAG(warn_drv_partially_supported_cuda_version, CLASS_WARNING, (unsigned)diag::Severity::Warning, "CUDA version %0 is only partially supported" , 969, SFINAE_Suppress, false, false, true, false, 0) |
277 | DIAG(warn_drv_pch_ignoring_gch_dir, CLASS_WARNING, (unsigned)diag::Severity::Warning, "precompiled header directory '%0' was ignored because it contains no clang PCH files" , 417, SFINAE_Suppress, false, false, true, false, 0) |
278 | DIAG(warn_drv_pch_ignoring_gch_file, CLASS_WARNING, (unsigned)diag::Severity::Warning, "precompiled header '%0' was ignored because it is not a clang PCH file" , 417, SFINAE_Suppress, false, false, true, false, 0) |
279 | DIAG(warn_drv_pch_not_first_include, CLASS_WARNING, (unsigned)diag::Severity::Warning, "precompiled header '%0' was ignored because '%1' is not first '-include'" , 0, SFINAE_Suppress, false, false, true, false, 0) |
280 | DIAG(warn_drv_potentially_misspelled_joined_argument, CLASS_WARNING, (unsigned)diag::Severity::Warning, "joined argument treated as '%0'; did you mean '%1'?" , 966, SFINAE_Suppress, false, false, true, false, 0) |
281 | DIAG(warn_drv_preprocessed_input_file_unused, CLASS_WARNING, (unsigned)diag::Severity::Warning, "%0: previously preprocessed input%select{ unused when '%2' is present|}1" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
282 | DIAG(warn_drv_ps_force_pic, CLASS_WARNING, (unsigned)diag::Severity::Warning, "option '%0' was ignored by the %1 toolchain, using '-fPIC'" , 697, SFINAE_Suppress, false, false, true, false, 0) |
283 | DIAG(warn_drv_sarif_format_unstable, CLASS_WARNING, (unsigned)diag::Severity::Warning, "diagnostic formatting in SARIF mode is currently unstable" , 816, SFINAE_Suppress, false, false, true, false, 0) |
284 | DIAG(warn_drv_treating_input_as_cxx, CLASS_WARNING, (unsigned)diag::Severity::Warning, "treating '%0' input as '%1' when in C++ mode, this behavior is deprecated" , 228, SFINAE_Suppress, false, false, true, false, 34) |
285 | DIAG(warn_drv_unable_to_find_directory_expected, CLASS_WARNING, (unsigned)diag::Severity::Ignored, "unable to find %0 directory, expected to be in '%1' found via %2" , 489, SFINAE_Suppress, false, false, true, false, 0) |
286 | DIAG(warn_drv_unknown_argument_clang_cl, CLASS_WARNING, (unsigned)diag::Severity::Warning, "unknown argument ignored in clang-cl: '%0'" , 966, SFINAE_Suppress, false, false, true, false, 0) |
287 | DIAG(warn_drv_unknown_argument_clang_cl_with_suggestion, CLASS_WARNING, (unsigned)diag::Severity::Warning, "unknown argument ignored in clang-cl '%0'; did you mean '%1'?" , 966, SFINAE_Suppress, false, false, true, false, 0) |
288 | DIAG(warn_drv_unsupported_debug_info_opt_for_target, CLASS_WARNING, (unsigned)diag::Severity::Warning, "debug information option '%0' is not supported for target '%1'" , 998, SFINAE_Suppress, false, false, true, false, 0) |
289 | DIAG(warn_drv_unsupported_diag_option_for_flang, CLASS_WARNING, (unsigned)diag::Severity::Warning, "the warning option '-%0' is not supported" , 697, SFINAE_Suppress, false, false, true, false, 0) |
290 | DIAG(warn_drv_unsupported_float_abi_by_lib, CLASS_WARNING, (unsigned)diag::Severity::Warning, "float ABI '%0' is not supported by current library" , 989, SFINAE_Suppress, false, false, true, false, 0) |
291 | DIAG(warn_drv_unsupported_gpopt, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '-mgpopt' option as it cannot be used with %select{|the implicit usage of }0-mabicalls" , 996, SFINAE_Suppress, false, false, true, false, 0) |
292 | DIAG(warn_drv_unsupported_longcalls, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '-mlong-calls' option as it is not currently supported with %select{|the implicit usage of }0-mabicalls" , 697, SFINAE_Suppress, false, false, true, false, 0) |
293 | DIAG(warn_drv_unsupported_openmp_library, CLASS_WARNING, (unsigned)diag::Severity::Warning, "the library '%0=%1' is not supported, OpenMP will not be enabled" , 697, SFINAE_Suppress, false, false, true, false, 0) |
294 | DIAG(warn_drv_unsupported_opt_for_target, CLASS_WARNING, (unsigned)diag::Severity::Warning, "optimization flag '%0' is not supported for target '%1'" , 418, SFINAE_Suppress, false, false, true, false, 0) |
295 | DIAG(warn_drv_unsupported_option_for_flang, CLASS_WARNING, (unsigned)diag::Severity::Warning, "the argument '%0' is not supported for option '%1'. Mapping to '%1%2'" , 697, SFINAE_Suppress, false, false, true, false, 0) |
296 | DIAG(warn_drv_unsupported_option_for_offload_arch_req_feature, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '%0' option for offload arch '%1' as it is not currently supported there. Use it with an offload arch containing '%2' instead" , 697, SFINAE_Suppress, false, false, true, false, 0) |
297 | DIAG(warn_drv_unsupported_option_for_processor, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '%0' option as it is not currently supported for processor '%1'" , 697, SFINAE_Suppress, false, false, true, false, 0) |
298 | DIAG(warn_drv_unsupported_option_for_target, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '%0' option as it is not currently supported for target '%1'" , 697, SFINAE_Suppress, false, false, true, false, 0) |
299 | DIAG(warn_drv_unsupported_pic_with_mabicalls, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '%0' option as it cannot be used with %select{implicit usage of|}1 -mabicalls and the N64 ABI" , 697, SFINAE_Suppress, false, false, true, false, 0) |
300 | DIAG(warn_drv_unsupported_sdata, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '-msmall-data-limit=' with -mcmodel=large for -fpic or RV64" , 697, SFINAE_Suppress, false, false, true, false, 0) |
301 | DIAG(warn_drv_unused_argument, CLASS_WARNING, (unsigned)diag::Severity::Warning, "argument unused during compilation: '%0'" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
302 | DIAG(warn_drv_unused_x, CLASS_WARNING, (unsigned)diag::Severity::Warning, "'-x %0' after last input file has no effect" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
303 | DIAG(warn_drv_yc_multiple_inputs_clang_cl, CLASS_WARNING, (unsigned)diag::Severity::Warning, "support for '/Yc' with more than one source file not implemented yet; flag ignored" , 172, SFINAE_Suppress, false, false, true, false, 0) |
304 | DIAG(warn_drv_ycyu_different_arg_clang_cl, CLASS_WARNING, (unsigned)diag::Severity::Warning, "support for '/Yc' and '/Yu' with different filenames not implemented yet; flags ignored" , 172, SFINAE_Suppress, false, false, true, false, 0) |
305 | DIAG(warn_ignored_clang_option, CLASS_WARNING, (unsigned)diag::Severity::Warning, "the flag '%0' has been deprecated and will be ignored" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
306 | DIAG(warn_ignored_gcc_optimization, CLASS_WARNING, (unsigned)diag::Severity::Warning, "optimization flag '%0' is not supported" , 418, SFINAE_Suppress, false, false, true, false, 0) |
307 | DIAG(warn_ignoring_fdiscard_for_bitcode, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring -fdiscard-value-names for LLVM Bitcode" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
308 | DIAG(warn_ignoring_ftabstop_value, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring invalid -ftabstop value '%0', using default value %1" , 0, SFINAE_Suppress, false, false, true, false, 0) |
309 | DIAG(warn_ignoring_verify_debuginfo_preserve_export, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring -fverify-debuginfo-preserve-export=%0 because -fverify-debuginfo-preserve wasn't enabled" , 1005, SFINAE_Suppress, false, false, true, false, 0) |
310 | DIAG(warn_incompatible_sysroot, CLASS_WARNING, (unsigned)diag::Severity::Warning, "using sysroot for '%0' but targeting '%1'" , 454, SFINAE_Suppress, false, false, true, false, 0) |
311 | DIAG(warn_invalid_ios_deployment_target, CLASS_WARNING, (unsigned)diag::Severity::Error, "invalid iOS deployment version '%0', iOS 10 is the maximum deployment target for 32-bit targets" , 485, SFINAE_Suppress, false, false, true, false, 0) |
312 | DIAG(warn_missing_include_dirs, CLASS_WARNING, (unsigned)diag::Severity::Ignored, "no such include directory: '%0'" , 572, SFINAE_Suppress, false, false, true, false, 0) |
313 | DIAG(warn_missing_sysroot, CLASS_WARNING, (unsigned)diag::Severity::Warning, "no such sysroot directory: '%0'" , 580, SFINAE_Suppress, false, false, true, false, 0) |
314 | DIAG(warn_slash_u_filename, CLASS_WARNING, (unsigned)diag::Severity::Warning, "'/U%0' treated as the '/U' option" , 854, SFINAE_Suppress, false, false, true, false, 0) |
315 | DIAG(warn_target_override_arm64ec, CLASS_WARNING, (unsigned)diag::Severity::Warning, "/arm64EC has been overridden by specified target: %0; option ignored" , 697, SFINAE_Suppress, false, false, true, false, 0) |
316 | DIAG(warn_target_unsupported_abs2008, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '-mabs=2008' option because the '%0' architecture does not support it" , 990, SFINAE_Suppress, false, false, true, false, 0) |
317 | DIAG(warn_target_unsupported_abslegacy, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '-mabs=legacy' option because the '%0' architecture does not support it" , 990, SFINAE_Suppress, false, false, true, false, 0) |
318 | DIAG(warn_target_unsupported_compact_branches, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '-mcompact-branches=' option because the '%0' architecture does not support it" , 992, SFINAE_Suppress, false, false, true, false, 0) |
319 | DIAG(warn_target_unsupported_extension, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring extension '%0' because the '%1' architecture does not support it" , 480, SFINAE_Suppress, false, false, true, false, 0) |
320 | DIAG(warn_target_unsupported_nan2008, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '-mnan=2008' option because the '%0' architecture does not support it" , 997, SFINAE_Suppress, false, false, true, false, 0) |
321 | DIAG(warn_target_unsupported_nanlegacy, CLASS_WARNING, (unsigned)diag::Severity::Warning, "ignoring '-mnan=legacy' option because the '%0' architecture does not support it" , 997, SFINAE_Suppress, false, false, true, false, 0) |
322 | DIAG(warn_unsupported_branch_protection, CLASS_WARNING, (unsigned)diag::Severity::Warning, "invalid branch protection option '%0' in '%1'" , 88, SFINAE_Suppress, false, false, true, false, 0) |
323 | |