Skip to content

Commit 86050e2

Browse files
committed
Allow raw layout to parse integer types
1 parent 2fb88c6 commit 86050e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Parse/ParseDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4081,7 +4081,7 @@ ParserStatus Parser::parseNewDeclAttribute(DeclAttributes &Attributes,
40814081
return makeParserSuccess();
40824082
}
40834083

4084-
auto countType = parseType(diag::expected_type);
4084+
auto countType = parseTypeOrValue(diag::expected_type);
40854085
if (countType.isNull()) {
40864086
return makeParserSuccess();
40874087
}

0 commit comments

Comments
 (0)