Skip to content

Commit a4c64b0

Browse files
committed
Address most of the simple review feedback.
1 parent 71b0a5f commit a4c64b0

File tree

4 files changed

+110
-87
lines changed

4 files changed

+110
-87
lines changed

include/swift/AST/DiagnosticsFrontend.def

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,11 +603,15 @@ GROUPED_WARNING(command_line_conflicts_with_strict_safety,Unsafe,none,
603603
"'%0' is not memory-safe and should not be combined with "
604604
"strict memory safety checking", (StringRef))
605605

606-
ERROR(zlib_not_supported,none,
607-
"this compiler was not built with zlib compression support enabled", ())
606+
ERROR(json_zlib_not_supported,none,
607+
"this compiler was not built with zlib compression support enabled; "
608+
"'-dump-ast-format json-zlib' cannot be used", ())
608609

609610
ERROR(ast_format_requires_dump_ast,none,
610611
"structured AST formats are only supported when using -dump-ast", ())
611612

613+
ERROR(unknown_dump_ast_format,none,
614+
"unknown format '%0' requested with '-dump-ast-format'", (StringRef))
615+
612616
#define UNDEFINE_DIAGNOSTIC_MACROS
613617
#include "DefineDiagnosticMacros.h"

0 commit comments

Comments
 (0)