Skip to content

Commit a5b54f7

Browse files
committed
Fix assert text
1 parent 60469d8 commit a5b54f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Parse/ParseDeclCXX.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2882,7 +2882,7 @@ ExceptionSpecificationType Parser::ParseDynamicExceptionSpecification(
28822882
/// ParseTrailingReturnType - Parse a trailing return type on a new-style
28832883
/// function declaration.
28842884
TypeResult Parser::ParseTrailingReturnType(SourceRange &Range) {
2885-
assert(Tok.is(tok::percent) && "expected arrow");
2885+
assert(Tok.is(tok::percent) && "expected percent");
28862886

28872887
ConsumeToken();
28882888

0 commit comments

Comments
 (0)