]> granicus.if.org Git - clang/blob - include/clang/Basic/DiagnosticDriverKinds.td
Introduce basic support for loading a precompiled preamble while
[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_arch_name : Error<
18   "invalid arch name '%0'">;
19 def err_drv_invalid_opt_with_multiple_archs : Error<
20   "option '%0' cannot be used with multiple -arch options">;
21 def err_drv_invalid_output_with_multiple_archs : Error<
22   "cannot use '%0' output with multiple -arch options">;
23 def err_drv_no_input_files : Error<"no input files">;
24 def err_drv_use_of_Z_option : Error<
25   "unsupported use of internal gcc -Z option '%0'">;
26 def err_drv_output_argument_with_multiple_files : Error<
27   "cannot specify -o when generating multiple output files">;
28 def err_drv_unable_to_make_temp : Error<
29   "unable to make temporary file: %0">;
30 def err_drv_unable_to_remove_file : Error<
31   "unable to remove file: %0">;
32 def err_drv_command_failure : Error<
33   "unable to execute command: %0">;
34 def err_drv_invalid_darwin_version : Error<
35   "invalid Darwin version number: %0">;
36 def err_drv_missing_argument : Error<
37   "argument to '%0' is missing (expected %1 %plural{1:value|:values}1)">;
38 def err_drv_invalid_Xarch_argument : Error<
39   "invalid Xarch argument: '%0'">;
40 def err_drv_argument_only_allowed_with : Error<
41   "invalid argument '%0' only allowed with '%1'">;
42 def err_drv_argument_not_allowed_with : Error<
43   "invalid argument '%0' not allowed with '%1'">;
44 def err_drv_invalid_version_number : Error<
45   "invalid version number in '%0'">;
46 def err_drv_no_linker_llvm_support : Error<
47   "'%0': unable to pass LLVM bit-code files to linker">;
48 def err_drv_no_ast_support : Error<
49   "'%0': unable to use AST files with this tool">;
50 def err_drv_clang_unsupported : Error<
51   "the clang compiler does not support '%0'">;
52 def err_drv_clang_unsupported_opt_cxx_darwin_i386 : Error<
53   "the clang compiler does not support '%0' for C++ on Darwin/i386">;
54 def err_drv_command_failed : Error<
55   "%0 command failed with exit code %1 (use -v to see invocation)">;
56 def err_drv_command_signalled : Error<
57   "%0 command failed due to signal %1 (use -v to see invocation)">;
58 def err_drv_invalid_mfloat_abi : Error<
59   "invalid float ABI '%0'">;
60 def err_drv_I_dash_not_supported : Error<
61   "'%0' not supported, please use -iquote instead">;
62 def err_drv_unknown_argument : Error<"unknown argument: '%0'">;
63 def err_drv_invalid_value : Error<"invalid value '%1' in '%0'">;
64 def err_drv_invalid_int_value : Error<"invalid integral value '%1' in '%0'">;
65 def err_drv_invalid_remap_file : Error<
66     "invalid option '%0' not of the form <from-file>;<to-file>">;
67 def err_drv_invalid_gcc_output_type : Error<
68     "invalid output type '%0' for use with gcc tool">;
69 def err_drv_cc_print_options_failure : Error<
70     "unable to open CC_PRINT_OPTIONS file: %0">;
71 def err_drv_preamble_format : Error<
72     "incorrect format for -preamble-bytes=N,END">;
73
74 def warn_drv_input_file_unused : Warning<
75   "%0: '%1' input unused when '%2' is present">;
76 def warn_drv_preprocessed_input_file_unused : Warning<
77   "%0: previously preprocessed input unused when '%1' is present">;
78 def warn_drv_unused_argument : Warning<
79   "argument unused during compilation: '%0'">;
80 def warn_drv_pipe_ignored_with_save_temps : Warning<
81   "-pipe ignored because -save-temps specified">;
82 def warn_drv_not_using_clang_cpp : Warning<
83   "not using the clang preprocessor due to user override">;
84 def warn_drv_not_using_clang_cxx : Warning<
85   "not using the clang compiler for C++ inputs">;
86 def warn_drv_not_using_clang_arch : Warning<
87   "not using the clang compiler for the '%0' architecture">;
88 def warn_drv_clang_unsupported : Warning<
89   "the clang compiler does not support '%0'">;
90 def warn_drv_assuming_mfloat_abi_is : Warning<
91   "unknown platform, assuming -mfloat-abi=%0">;
92 def warn_ignoring_ftabstop_value : Warning<
93   "ignoring invalid -ftabstop value '%0', using default value %1">;
94 def warn_drv_missing_resource_library : Warning<
95   "missing resource library '%0', link may fail">;
96 def warn_drv_conflicting_deployment_targets : Warning<
97   "conflicting deployment targets, both MACOSX_DEPLOYMENT_TARGET '%0' and IPHONEOS_DEPLOYMENT_TARGET '%1' are present in environment">;
98 def warn_drv_treating_input_as_cxx : Warning<
99   "treating '%0' input as '%1' when in C++ mode, this behavior is deprecated">,
100   InGroup<Deprecated>;
101 def warn_drv_objc_gc_unsupported : Warning<
102   "Objective-C garbage collection is not supported on this platform, ignoring '%0'">;
103
104 }