Skip to content

Commit 642d417

Browse files
committed
Print a \n in the 'missing Clang type' error message to match the rest of the errors
1 parent e1fe363 commit 642d417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/ExtInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void UnexpectedClangTypeError::dump() {
104104
switch (errorKind) {
105105
case Kind::NullForCOrBlock: {
106106
e << "Expected non-null Clang type for @convention(c)/@convention(block)"
107-
<< " function but found nullptr.";
107+
<< " function but found nullptr.\n";
108108
return;
109109
}
110110
case Kind::NonnullForNonCOrBlock: {

0 commit comments

Comments
 (0)