1 //==--- DiagnosticDriverKinds.td - libdriver diagnostics ------------------===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 let Component = "Driver" in { 11 12 def err_drv_no_such_file : Error<"no such file or directory: '%0'">; 13 def err_drv_unsupported_opt : Error<"unsupported option '%0'">; 14 def err_drv_unsupported_option_argument : Error< 15 "unsupported argument '%1' to option '%0'">; 16 def err_drv_unknown_stdin_type : Error< 17 "-E or -x required when input is from standard input">; 18 def err_drv_unknown_language : Error<"language not recognized: '%0'">; 19 def err_drv_invalid_arch_name : Error< 20 "invalid arch name '%0'">; 21 def err_drv_invalid_stdlib_name : Error< 22 "invalid library name in argument '%0'">; 23 def err_drv_invalid_opt_with_multiple_archs : Error< 24 "option '%0' cannot be used with multiple -arch options">; 25 def err_drv_invalid_output_with_multiple_archs : Error< 26 "cannot use '%0' output with multiple -arch options">; 27 def err_drv_no_input_files : Error<"no input files">; 28 def err_drv_use_of_Z_option : Error< 29 "unsupported use of internal gcc -Z option '%0'">; 30 def err_drv_output_argument_with_multiple_files : Error< 31 "cannot specify -o when generating multiple output files">; 32 def err_drv_unable_to_make_temp : Error< 33 "unable to make temporary file: %0">; 34 def err_drv_unable_to_remove_file : Error< 35 "unable to remove file: %0">; 36 def err_drv_command_failure : Error< 37 "unable to execute command: %0">; 38 def err_drv_invalid_darwin_version : Error< 39 "invalid Darwin version number: %0">; 40 def err_drv_missing_argument : Error< 41 "argument to '%0' is missing (expected %1 %plural{1:value|:values}1)">; 42 def err_drv_invalid_Xarch_argument_with_args : Error< 43 "invalid Xarch argument: '%0', options requiring arguments are unsupported">; 44 def err_drv_invalid_Xarch_argument_isdriver : Error< 45 "invalid Xarch argument: '%0', cannot change driver behavior inside Xarch argument">; 46 def err_drv_argument_only_allowed_with : Error< 47 "invalid argument '%0' only allowed with '%1'">; 48 def err_drv_argument_not_allowed_with : Error< 49 "invalid argument '%0' not allowed with '%1'">; 50 def err_drv_invalid_version_number : Error< 51 "invalid version number in '%0'">; 52 def err_drv_no_linker_llvm_support : Error< 53 "'%0': unable to pass LLVM bit-code files to linker">; 54 def err_drv_no_ast_support : Error< 55 "'%0': unable to use AST files with this tool">; 56 def err_drv_clang_unsupported : Error< 57 "the clang compiler does not support '%0'">; 58 def err_drv_clang_unsupported_per_platform : Error< 59 "the clang compiler does not support '%0' on this platform">; 60 def err_drv_clang_unsupported_opt_cxx_darwin_i386 : Error< 61 "the clang compiler does not support '%0' for C++ on Darwin/i386">; 62 def err_drv_command_failed : Error< 63 "%0 command failed with exit code %1 (use -v to see invocation)">; 64 def err_drv_command_signalled : Error< 65 "%0 command failed due to signal %1 (use -v to see invocation)">; 66 def err_drv_invalid_mfloat_abi : Error< 67 "invalid float ABI '%0'">; 68 def err_drv_I_dash_not_supported : Error< 69 "'%0' not supported, please use -iquote instead">; 70 def err_drv_unknown_argument : Error<"unknown argument: '%0'">; 71 def err_drv_invalid_value : Error<"invalid value '%1' in '%0'">; 72 def err_drv_invalid_int_value : Error<"invalid integral value '%1' in '%0'">; 73 def err_drv_invalid_remap_file : Error< 74 "invalid option '%0' not of the form <from-file>;<to-file>">; 75 def err_drv_invalid_gcc_output_type : Error< 76 "invalid output type '%0' for use with gcc tool">; 77 def err_drv_cc_print_options_failure : Error< 78 "unable to open CC_PRINT_OPTIONS file: %0">; 79 def err_drv_preamble_format : Error< 80 "incorrect format for -preamble-bytes=N,END">; 81 def err_drv_conflicting_deployment_targets : Error< 82 "conflicting deployment targets, both '%0' and '%1' are present in environment">; 83 def err_drv_invalid_arch_for_deployment_target : Error< 84 "invalid architecture '%0' for deployment target '%1'">; 85 def err_drv_objc_gc_arr : Error< 86 "cannot specify both '-fobjc-arc' and '%0'">; 87 def err_arc_nonfragile_abi : Error< 88 "-fobjc-arc is not supported with fragile abi">; 89 def err_drv_mg_requires_m_or_mm : Error< 90 "option '-MG' requires '-M' or '-MM'">; 91 92 def warn_c_kext : Warning< 93 "ignoring -fapple-kext which is valid for c++ and objective-c++ only">; 94 def warn_drv_unsupported_option_argument : Warning< 95 "ignoring unsupported argument '%1' to option '%0'">; 96 def warn_drv_input_file_unused : Warning< 97 "%0: '%1' input unused when '%2' is present">; 98 def warn_drv_preprocessed_input_file_unused : Warning< 99 "%0: previously preprocessed input unused when '%1' is present">; 100 def warn_drv_unused_argument : Warning< 101 "argument unused during compilation: '%0'">; 102 def warn_drv_pipe_ignored_with_save_temps : Warning< 103 "-pipe ignored because -save-temps specified">; 104 def warn_drv_not_using_clang_cpp : Warning< 105 "not using the clang preprocessor due to user override">; 106 def warn_drv_not_using_clang_cxx : Warning< 107 "not using the clang compiler for C++ inputs">; 108 def warn_drv_not_using_clang_arch : Warning< 109 "not using the clang compiler for the '%0' architecture">; 110 def warn_drv_clang_unsupported : Warning< 111 "the clang compiler does not support '%0'">; 112 def warn_drv_assuming_mfloat_abi_is : Warning< 113 "unknown platform, assuming -mfloat-abi=%0">; 114 def warn_ignoring_ftabstop_value : Warning< 115 "ignoring invalid -ftabstop value '%0', using default value %1">; 116 def warn_drv_conflicting_deployment_targets : Warning< 117 "conflicting deployment targets, both MACOSX_DEPLOYMENT_TARGET '%0' and IPHONEOS_DEPLOYMENT_TARGET '%1' are present in environment">; 118 def warn_drv_treating_input_as_cxx : Warning< 119 "treating '%0' input as '%1' when in C++ mode, this behavior is deprecated">, 120 InGroup<Deprecated>; 121 def warn_drv_objc_gc_unsupported : Warning< 122 "Objective-C garbage collection is not supported on this platform, ignoring '%0'">; 123 def warn_drv_pch_not_first_include : Warning< 124 "precompiled header '%0' was ignored because '%1' is not first '-include'">; 125 126 } 127