Skip to content

Commit 204827c

Browse files
committed
Update default value for unknown diagnostic IDs
1 parent 9f21b4a commit 204827c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/DiagnosticEngine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static constexpr const char *const debugDiagnosticStrings[] = {
113113
static constexpr const char *const diagnosticIDStrings[] = {
114114
#define DIAG(KIND, ID, Options, Text, Signature) #ID,
115115
#include "swift/AST/DiagnosticsAll.def"
116-
"",
116+
"<not a diagnostic>",
117117
};
118118

119119
static constexpr const char *const fixItStrings[] = {

0 commit comments

Comments
 (0)