Skip to content

Commit 9caa4a3

Browse files
AnthonyLatsisDougGregor
authored andcommitted
AST: Cut down on DescriptiveDeclKind usage in DiagnosticsClangImporter.def
(cherry picked from commit cdb2aac)
1 parent 21f23dc commit 9caa4a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/swift/AST/DiagnosticsClangImporter.def

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ ERROR(conforms_to_ambiguous,none,
279279
"ambiguous reference to protocol '%0' in specified protocol conformance; module '%1' contains multiple protocols named '%0'", (StringRef, StringRef))
280280

281281
ERROR(conforms_to_not_protocol,none,
282-
"%0 %1 referenced in protocol conformance '%2' is not a protocol", (DescriptiveDeclKind, ValueDecl *, StringRef))
282+
"%kind0 referenced in protocol conformance '%1' is not a protocol",
283+
(const ValueDecl *, StringRef))
283284

284285
ERROR(failed_base_method_call_synthesis,none,
285286
"failed to synthesize call to the base method %0 of type %0",

0 commit comments

Comments
 (0)