mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Explicitly track things marked __owned.
This commit is contained in:
@@ -1895,7 +1895,7 @@ bool Parser::parseDeclAttributeList(DeclAttributes &Attributes,
|
||||
bool Parser::parseTypeAttributeListPresent(VarDecl::Specifier &Specifier,
|
||||
SourceLoc &SpecifierLoc,
|
||||
TypeAttributes &Attributes) {
|
||||
Specifier = VarDecl::Specifier::Owned;
|
||||
Specifier = VarDecl::Specifier::Default;
|
||||
while (Tok.is(tok::kw_inout) ||
|
||||
(Tok.is(tok::identifier) &&
|
||||
(Tok.getRawText().equals("__shared") ||
|
||||
|
||||
Reference in New Issue
Block a user