]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/clang/Basic/DiagnosticDriverKinds.td
Import Clang, at r72732.
[FreeBSD/FreeBSD.git] / 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 def err_drv_argument_only_allowed_with : Error<
39   "invalid argument '%0' only allowed with '%1'">;
40 def err_drv_argument_not_allowed_with : Error<
41   "invalid argument '%0' not allowed with '%1'">;
42 def err_drv_invalid_version_number : Error<
43   "invalid version number in '%0'">;
44 def err_drv_no_linker_llvm_support : Error<
45   "'%0': unable to pass LLVM bit-code files to linker">;
46 def err_drv_clang_unsupported : Error<
47   "the clang compiler does not support '%0'">;
48
49 def warn_drv_input_file_unused : Warning<
50   "%0: '%1' input unused when '%2' is present">;
51 def warn_drv_unused_argument : Warning<
52   "argument unused during compilation: '%0'">;
53 def warn_drv_pipe_ignored_with_save_temps : Warning<
54   "-pipe ignored because -save-temps specified">;
55 def warn_drv_not_using_clang_cpp : Warning<
56   "not using the clang prepreprocessor due to user override">;
57 def warn_drv_not_using_clang_cxx : Warning<
58   "not using the clang compiler for C++ inputs">;
59 def warn_drv_not_using_clang_arch : Warning<
60   "not using the clang compiler for the '%0' architecture">;
61 def warn_drv_clang_unsupported : Warning<
62   "the clang compiler does not support '%0'">;
63
64 }