]> granicus.if.org Git - clang/blob - include/clang/Basic/DiagnosticDriverKinds.td
Driver: Handle -Xarch_, including warning for nasty -Xarch_ use cases
[clang] / include / clang / Basic / DiagnosticDriverKinds.td
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_unknown_stdin_type : Error<
15   "-E or -x required when input is from standard input">;
16 def err_drv_unknown_language : Error<"language not recognized: '%0'">;
17 def err_drv_invalid_opt_with_multiple_archs : Error<
18   "option '%0' cannot be used with multiple -arch options">;
19 def err_drv_invalid_output_with_multiple_archs : Error<
20   "cannot use '%0' output with multiple -arch options">;
21 def err_drv_no_input_files : Error<"no input files">;
22 def err_drv_use_of_Z_option : Error<
23   "unsupported use of internal gcc -Z option '%0'">;
24 def err_drv_output_argument_with_multiple_files : Error<
25   "cannot specify -o when generating multiple output files">;
26 def err_drv_unable_to_make_temp : Error<
27   "unable to make temporary file: %0">;
28 def err_drv_unable_to_remove_file : Error<
29   "unable to remove file: %0">;
30 def err_drv_command_failure : Error<
31   "unable to execute command: %0">;
32 def err_drv_invalid_darwin_version : Error<
33   "invalid Darwin version number: %0">;
34 def err_drv_missing_argument : Error<
35   "argument to '%0' is missing (expected %1 %plural{1:value|:values}1)">;
36 def err_drv_invalid_Xarch_argument : Error<
37   "invalid Xarch argument: '%0'">;
38
39 def warn_drv_input_file_unused : Warning<
40   "%0: '%1' input file unused when '%2' is present">;
41 def warn_drv_unused_argument : Warning<
42   "argument unused during compilation: '%0'">;
43 def warn_drv_pipe_ignored_with_save_temps : Warning<
44   "-pipe ignored because -save-temps specified">;
45 def warn_drv_not_using_clang_cpp : Warning<
46   "not using the clang prepreprocessor due to user override">;
47 def warn_drv_not_using_clang_cxx : Warning<
48   "not using the clang compiler for C++ inputs">;
49 def warn_drv_not_using_clang_arch : Warning<
50   "not using the clang compiler the '%0' architecture">;
51
52 }