38
38
#endif
39
39
40
40
WARNING (warning_no_such_sdk,none,
41
- " no such SDK: '%0'" , (StringRef))
41
+ " no such SDK: '%0'" , (StringRef))
42
42
43
43
ERROR(error_no_frontend_args, none,
44
- " no arguments provided to '-frontend'" , ())
44
+ " no arguments provided to '-frontend'" , ())
45
45
46
46
ERROR(error_no_such_file_or_directory,none,
47
- " no such file or directory: '%0'" , (StringRef))
47
+ " no such file or directory: '%0'" , (StringRef))
48
48
49
49
ERROR(error_unsupported_target_os, none,
50
- " unsupported target OS: '%0'" , (StringRef))
50
+ " unsupported target OS: '%0'" , (StringRef))
51
51
52
52
ERROR(error_unsupported_target_arch, none,
53
- " unsupported target architecture: '%0'" , (StringRef))
53
+ " unsupported target architecture: '%0'" , (StringRef))
54
54
55
55
ERROR(error_unsupported_opt_for_target, none,
56
- " unsupported option '%0' for target '%1'" , (StringRef, StringRef))
56
+ " unsupported option '%0' for target '%1'" , (StringRef, StringRef))
57
57
58
58
ERROR(error_argument_not_allowed_with, none,
59
- " argument '%0' is not allowed with '%1'" , (StringRef, StringRef))
59
+ " argument '%0' is not allowed with '%1'" , (StringRef, StringRef))
60
60
61
61
WARNING(warning_argument_not_supported_with_optimization, none,
62
- " argument '%0' is not supported with optimization" , (StringRef))
62
+ " argument '%0' is not supported with optimization" , (StringRef))
63
63
64
64
ERROR(error_option_requires_sanitizer, none,
65
- " option '%0' requires a sanitizer to be enabled. Use -sanitize= to enable a "
66
- " sanitizer" , (StringRef))
65
+ " option '%0' requires a sanitizer to be enabled. Use -sanitize= to "
66
+ " enable a sanitizer" , (StringRef))
67
67
68
68
ERROR(error_option_missing_required_argument, none,
69
- " option '%0' is missing a required argument (%1)" , (StringRef, StringRef))
69
+ " option '%0' is missing a required argument (%1)" , (StringRef, StringRef))
70
70
71
71
ERROR(cannot_open_file,none,
72
- " cannot open file '%0' (%1)" , (StringRef, StringRef))
72
+ " cannot open file '%0' (%1)" , (StringRef, StringRef))
73
73
ERROR(cannot_open_serialized_file,none,
74
- " cannot open file '%0' for diagnostics emission (%1)" , (StringRef, StringRef))
74
+ " cannot open file '%0' for diagnostics emission (%1)" ,
75
+ (StringRef, StringRef))
75
76
ERROR(error_open_input_file,none,
76
- " error opening input file '%0' (%1)" , (StringRef, StringRef))
77
+ " error opening input file '%0' (%1)" , (StringRef, StringRef))
77
78
ERROR(error_clang_importer_create_fail,none,
78
- " clang importer creation failed" , ())
79
+ " clang importer creation failed" , ())
79
80
ERROR(error_missing_arg_value,none,
80
- " missing argument value for '%0', expected %1 argument(s)" ,
81
- (StringRef, unsigned ))
81
+ " missing argument value for '%0', expected %1 argument(s)" ,
82
+ (StringRef, unsigned ))
82
83
ERROR(error_unknown_arg,none,
83
- " unknown argument: '%0'" , (StringRef))
84
+ " unknown argument: '%0'" , (StringRef))
84
85
ERROR(error_invalid_arg_value,none,
85
- " invalid value '%1' in '%0'" , (StringRef, StringRef))
86
+ " invalid value '%1' in '%0'" , (StringRef, StringRef))
86
87
WARNING(warning_cannot_multithread_batch_mode,none,
87
- " ignoring -num-threads argument; cannot multithread batch mode" , ())
88
+ " ignoring -num-threads argument; cannot multithread batch mode" , ())
88
89
ERROR(error_unsupported_option_argument,none,
89
- " unsupported argument '%1' to option '%0'" , (StringRef, StringRef))
90
+ " unsupported argument '%1' to option '%0'" , (StringRef, StringRef))
90
91
ERROR(error_immediate_mode_missing_stdlib,none,
91
- " could not load the swift standard library" , ())
92
+ " could not load the swift standard library" , ())
92
93
ERROR(error_immediate_mode_missing_library,none,
93
- " could not load %select{shared library|framework}0 '%1'" ,
94
- (unsigned , StringRef))
94
+ " could not load %select{shared library|framework}0 '%1'" ,
95
+ (unsigned , StringRef))
95
96
ERROR(error_immediate_mode_primary_file,none,
96
- " immediate mode is incompatible with -primary-file" , ())
97
+ " immediate mode is incompatible with -primary-file" , ())
97
98
ERROR(error_missing_frontend_action,none,
98
- " no frontend action was selected" , ())
99
+ " no frontend action was selected" , ())
99
100
ERROR(error_invalid_source_location_str,none,
100
- " invalid source location string '%0'" , (StringRef))
101
+ " invalid source location string '%0'" , (StringRef))
101
102
ERROR(error_no_source_location_scope_map,none,
102
- " -dump-scope-maps argument must be 'expanded' or a list of source locations " ,
103
- ())
103
+ " -dump-scope-maps argument must be 'expanded' or a list of "
104
+ " source locations " , ())
104
105
105
106
NOTE(note_swift_version_major, none,
106
107
" use major version, as in '-swift-version %0'" , (unsigned ))
@@ -140,46 +141,50 @@ ERROR(error_underlying_module_not_found,none,
140
141
" underlying Objective-C module %0 not found" , (Identifier))
141
142
142
143
ERROR(error_unable_to_load_supplementary_output_file_map, none,
143
- " unable to load supplementary output file map '%0': %1" , (StringRef, StringRef))
144
+ " unable to load supplementary output file map '%0': %1" ,
145
+ (StringRef, StringRef))
144
146
145
147
ERROR(error_missing_entry_in_supplementary_output_file_map, none,
146
- " supplementary output file map '%0' is missing an entry for '%1' (this likely indicates a compiler issue; please file a bug report)" , (StringRef, StringRef))
148
+ " supplementary output file map '%0' is missing an entry for '%1' "
149
+ " (this likely indicates a compiler issue; please file a bug report)" ,
150
+ (StringRef, StringRef))
147
151
148
152
ERROR(error_repl_requires_no_input_files,none,
149
- " REPL mode requires no input files" , ())
153
+ " REPL mode requires no input files" , ())
150
154
ERROR(error_mode_requires_one_input_file,none,
151
- " this mode requires a single input file" , ())
155
+ " this mode requires a single input file" , ())
152
156
ERROR(error_mode_requires_an_input_file,none,
153
- " this mode requires at least one input file" , ())
157
+ " this mode requires at least one input file" , ())
154
158
ERROR(error_mode_requires_one_sil_multi_sib,none,
155
- " this mode requires .sil for primary-file and only .sib for other inputs" , ())
159
+ " this mode requires .sil for primary-file and only .sib for other inputs" ,
160
+ ())
156
161
157
162
ERROR(error_no_output_filename_specified,none,
158
- " an output filename was not specified for a mode which requires an output "
159
- " filename" , ())
163
+ " an output filename was not specified for a mode which requires an "
164
+ " output filename" , ())
160
165
161
166
ERROR(error_implicit_output_file_is_directory,none,
162
- " the implicit output file '%0' is a directory; explicitly specify a filename "
163
- " using -o" , (StringRef))
167
+ " the implicit output file '%0' is a directory; explicitly specify a "
168
+ " filename using -o" , (StringRef))
164
169
165
170
ERROR(error_if_any_output_files_are_specified_they_all_must_be,none,
166
- " if any output files are specified, they all must be" , ())
171
+ " if any output files are specified, they all must be" , ())
167
172
168
173
ERROR(error_primary_file_not_found,none,
169
174
" primary file '%0' was not found in file list '%1'" ,
170
175
(StringRef, StringRef))
171
176
172
177
ERROR(error_cannot_have_input_files_with_file_list,none,
173
- " cannot have input files with file list" , ())
178
+ " cannot have input files with file list" , ())
174
179
175
180
ERROR(error_cannot_have_primary_files_with_primary_file_list,none,
176
- " cannot have primary input files with primary file list" , ())
181
+ " cannot have primary input files with primary file list" , ())
177
182
178
183
ERROR(error_cannot_have_supplementary_outputs,none,
179
- " cannot have '%0' with '%1'" , (StringRef, StringRef))
184
+ " cannot have '%0' with '%1'" , (StringRef, StringRef))
180
185
181
186
ERROR(error_duplicate_input_file,none,
182
- " duplicate input file '%0'" , (StringRef))
187
+ " duplicate input file '%0'" , (StringRef))
183
188
184
189
ERROR(repl_must_be_initialized,none,
185
190
" variables currently must have an initial value when entered at the "
@@ -192,33 +197,35 @@ ERROR(verify_encountered_fatal,none,
192
197
" fatal error encountered while in -verify mode" , ())
193
198
194
199
ERROR(error_parse_input_file,none,
195
- " error parsing input file '%0' (%1)" , (StringRef, StringRef))
200
+ " error parsing input file '%0' (%1)" , (StringRef, StringRef))
196
201
197
202
ERROR(error_write_index_unit,none,
198
- " writing index unit file: %0" , (StringRef))
203
+ " writing index unit file: %0" , (StringRef))
199
204
ERROR(error_create_index_dir,none,
200
- " creating index directory: %0" , (StringRef))
205
+ " creating index directory: %0" , (StringRef))
201
206
ERROR(error_write_index_record,none,
202
- " writing index record file: %0" , (StringRef))
207
+ " writing index record file: %0" , (StringRef))
203
208
ERROR(error_index_failed_status_check,none,
204
- " failed file status check: %0" , (StringRef))
209
+ " failed file status check: %0" , (StringRef))
205
210
ERROR(error_index_inputs_more_than_outputs,none,
206
- " index output filenames do not match input source files" , ())
211
+ " index output filenames do not match input source files" , ())
207
212
208
213
ERROR(error_wrong_number_of_arguments,none,
209
- " wrong number of '%0' arguments (expected %1, got %2)" , (StringRef, int , int ))
214
+ " wrong number of '%0' arguments (expected %1, got %2)" ,
215
+ (StringRef, int , int ))
210
216
211
217
ERROR(error_formatting_multiple_file_ranges,none,
212
- " file ranges don't support multiple input files" , ())
218
+ " file ranges don't support multiple input files" , ())
213
219
214
220
ERROR(error_formatting_invalid_range,none,
215
- " file range is invalid" , ())
221
+ " file range is invalid" , ())
216
222
217
223
WARNING(stats_disabled,none,
218
- " compiler was not built with support for collecting statistics" , ())
224
+ " compiler was not built with support for collecting statistics" , ())
219
225
220
226
WARNING(tbd_only_supported_in_whole_module,none,
221
- " TBD generation is only supported when the whole module can be seen" , ())
227
+ " TBD generation is only supported when the whole module can be seen" ,
228
+ ())
222
229
223
230
ERROR(symbol_in_tbd_not_in_ir,none,
224
231
" symbol '%0' (%1) is in TBD file, but not in generated IR" ,
@@ -232,12 +239,12 @@ ERROR(tbd_validation_failure,none,
232
239
" add -Xfrontend -validate-tbd-against-ir=none to squash the errors" , ())
233
240
234
241
ERROR(redundant_prefix_compilation_flag,none,
235
- " invalid argument '-D%0'; did you provide a redundant '-D' in your build settings? " ,
236
- (StringRef))
242
+ " invalid argument '-D%0'; did you provide a redundant '-D' in your "
243
+ " build settings? " , (StringRef))
237
244
238
245
ERROR(invalid_conditional_compilation_flag,none,
239
- " conditional compilation flags must be valid Swift identifiers (rather than '%0') " ,
240
- (StringRef))
246
+ " conditional compilation flags must be valid Swift identifiers "
247
+ " (rather than '%0') " , (StringRef))
241
248
242
249
WARNING(cannot_assign_value_to_conditional_compilation_flag,none,
243
250
" conditional compilation flags do not have values in Swift; they are "
0 commit comments