Skip to content

Commit 7088ff7

Browse files
committed
Revert unrelated formatting changes
1 parent 3618e63 commit 7088ff7

File tree

1 file changed

+30
-33
lines changed

1 file changed

+30
-33
lines changed

include/swift/AST/DiagnosticsDriver.def

Lines changed: 30 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -42,27 +42,26 @@
4242
DIAG(REMARK,ID,Options,Text,Signature)
4343
#endif
4444

45-
WARNING(warning_parallel_execution_not_supported, none,
45+
WARNING(warning_parallel_execution_not_supported,none,
4646
"parallel execution not supported; falling back to serial execution",
4747
())
4848

49-
ERROR(error_unable_to_execute_command, none,
49+
ERROR(error_unable_to_execute_command,none,
5050
"unable to execute command: %0", (StringRef))
51-
ERROR(error_command_signalled_without_signal_number, none,
51+
ERROR(error_command_signalled_without_signal_number,none,
5252
"%0 command failed due to signal (use -v to see invocation)", (StringRef))
53-
ERROR(error_command_signalled, none,
54-
"%0 command failed due to signal %1 (use -v to see invocation)",
55-
(StringRef, int))
56-
ERROR(error_command_failed, none,
53+
ERROR(error_command_signalled,none,
54+
"%0 command failed due to signal %1 (use -v to see invocation)", (StringRef, int))
55+
ERROR(error_command_failed,none,
5756
"%0 command failed with exit code %1 (use -v to see invocation)",
5857
(StringRef, int))
5958

60-
ERROR(error_expected_one_frontend_job, none,
59+
ERROR(error_expected_one_frontend_job,none,
6160
"unable to handle compilation, expected exactly one frontend job", ())
62-
ERROR(error_expected_frontend_command, none,
61+
ERROR(error_expected_frontend_command,none,
6362
"expected a swift frontend command", ())
6463

65-
ERROR(error_cannot_specify__o_for_multiple_outputs, none,
64+
ERROR(error_cannot_specify__o_for_multiple_outputs,none,
6665
"cannot specify -o when generating multiple output files", ())
6766

6867
ERROR(error_static_emit_executable_disallowed,none,
@@ -71,40 +70,40 @@ ERROR(error_static_emit_executable_disallowed,none,
7170
ERROR(error_unable_to_load_output_file_map, none,
7271
"unable to load output file map '%1': %0", (StringRef, StringRef))
7372

74-
ERROR(error_no_output_file_map_specified, none,
73+
ERROR(error_no_output_file_map_specified,none,
7574
"no output file map specified", ())
7675

77-
ERROR(error_unable_to_make_temporary_file, none,
76+
ERROR(error_unable_to_make_temporary_file,none,
7877
"unable to make temporary file: %0", (StringRef))
7978

80-
ERROR(error_no_input_files, none,
79+
ERROR(error_no_input_files,none,
8180
"no input files", ())
8281

83-
ERROR(error_unexpected_input_file, none,
82+
ERROR(error_unexpected_input_file,none,
8483
"unexpected input file: %0", (StringRef))
8584

86-
ERROR(error_unknown_target, none,
85+
ERROR(error_unknown_target,none,
8786
"unknown target '%0'", (StringRef))
8887

89-
ERROR(error_framework_bridging_header, none,
88+
ERROR(error_framework_bridging_header,none,
9089
"using bridging headers with framework targets is unsupported", ())
9190
ERROR(error_bridging_header_module_interface,none,
9291
"using bridging headers with module interfaces is unsupported",
9392
())
9493

95-
ERROR(error_i_mode, none,
94+
ERROR(error_i_mode,none,
9695
"the flag '-i' is no longer required and has been removed; "
9796
"use '%0 input-filename'", (StringRef))
98-
WARNING(warning_unnecessary_repl_mode, none,
97+
WARNING(warning_unnecessary_repl_mode,none,
9998
"unnecessary option '%0'; this is the default for '%1' "
10099
"with no input files", (StringRef, StringRef))
101-
ERROR(error_unsupported_option, none,
100+
ERROR(error_unsupported_option,none,
102101
"option '%0' is not supported by '%1'; did you mean to use '%2'?",
103102
(StringRef, StringRef, StringRef))
104103

105-
WARNING(incremental_requires_output_file_map, none,
104+
WARNING(incremental_requires_output_file_map,none,
106105
"ignoring -incremental (currently requires an output file map)", ())
107-
WARNING(incremental_requires_build_record_entry, none,
106+
WARNING(incremental_requires_build_record_entry,none,
108107
"ignoring -incremental; output file map has no master dependencies "
109108
"entry (\"%0\" under \"\")", (StringRef))
110109

@@ -113,9 +112,9 @@ WARNING(unable_to_open_incremental_comparison_log,none,
113112

114113
ERROR(error_os_minimum_deployment,none,
115114
"Swift requires a minimum deployment target of %0", (StringRef))
116-
ERROR(error_sdk_too_old, none,
115+
ERROR(error_sdk_too_old,none,
117116
"Swift does not support the SDK '%0'", (StringRef))
118-
ERROR(error_ios_maximum_deployment_32, none,
117+
ERROR(error_ios_maximum_deployment_32,none,
119118
"iOS %0 does not support 32-bit programs", (unsigned))
120119

121120
WARNING(warn_arclite_not_found_when_link_objc_runtime,none,
@@ -125,19 +124,19 @@ WARNING(warn_arclite_not_found_when_link_objc_runtime,none,
125124
ERROR(error_two_files_same_name,none,
126125
"filename \"%0\" used twice: '%1' and '%2'",
127126
(StringRef, StringRef, StringRef))
128-
NOTE(note_explain_two_files_same_name, none,
127+
NOTE(note_explain_two_files_same_name,none,
129128
"filenames are used to distinguish private declarations with the same "
130129
"name", ())
131130

132-
WARNING(warn_cannot_stat_input, none,
131+
WARNING(warn_cannot_stat_input,none,
133132
"unable to determine when '%0' was last modified: %1",
134133
(StringRef, StringRef))
135134

136135
WARNING(warn_unable_to_load_dependencies, none,
137136
"unable to load dependencies file \"%0\", disabling incremental mode",
138137
(StringRef))
139138

140-
ERROR(error_input_changed_during_build, none,
139+
ERROR(error_input_changed_during_build,none,
141140
"input file '%0' was modified during the build",
142141
(StringRef))
143142

@@ -151,23 +150,21 @@ ERROR(error_option_not_supported, none,
151150
WARNING(warn_ignore_embed_bitcode, none,
152151
"ignoring -embed-bitcode since no object file is being generated", ())
153152
WARNING(warn_ignore_embed_bitcode_marker, none,
154-
"ignoring -embed-bitcode-marker since no object file is being "
155-
"generated", ())
153+
"ignoring -embed-bitcode-marker since no object file is being generated", ())
156154

157-
WARNING(verify_debug_info_requires_debug_option, none,
155+
WARNING(verify_debug_info_requires_debug_option,none,
158156
"ignoring '-verify-debug-info'; no debug info is being generated", ())
159157

160-
ERROR(error_profile_missing, none,
158+
ERROR(error_profile_missing,none,
161159
"no profdata file exists at '%0'", (StringRef))
162160

163161
WARNING(warn_opt_remark_disabled, none,
164162
"Emission of optimization records has been disabled, because it "
165163
"requires a single compiler invocation: consider enabling the "
166164
"-whole-module-optimization flag", ())
167165

168-
WARNING(warn_ignoring_batch_mode, none,
169-
"ignoring '-enable-batch-mode' because '%0' was also specified",
170-
(StringRef))
166+
WARNING(warn_ignoring_batch_mode,none,
167+
"ignoring '-enable-batch-mode' because '%0' was also specified", (StringRef))
171168

172169
WARNING(warn_ignoring_single_compile, none,
173170
"ignoring '%0' because '-dump-ast' was also specified", (StringRef))

0 commit comments

Comments
 (0)