Skip to content

Commit 8b1d08e

Browse files
committed
Allow raw layout to parse integer types
1 parent 90ce2cd commit 8b1d08e

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
@@ -3963,7 +3963,7 @@ ParserStatus Parser::parseNewDeclAttribute(DeclAttributes &Attributes,
39633963
return makeParserSuccess();
39643964
}
39653965

3966-
auto countType = parseType(diag::expected_type);
3966+
auto countType = parseTypeOrValue(diag::expected_type);
39673967
if (countType.isNull()) {
39683968
return makeParserSuccess();
39693969
}

0 commit comments

Comments
 (0)