mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
parseDeclImport(): use ParserResult because this function returns at most one
Decl, no need to pass in a vector Swift SVN r7413
This commit is contained in:
@@ -450,7 +450,7 @@ public:
|
||||
bool parseAttributeListPresent(DeclAttributes &Attributes);
|
||||
bool parseAttribute(DeclAttributes &Attributes);
|
||||
|
||||
bool parseDeclImport(unsigned Flags, SmallVectorImpl<Decl*> &Decls);
|
||||
ParserResult<ImportDecl> parseDeclImport(unsigned Flags);
|
||||
bool parseInheritance(SmallVectorImpl<TypeLoc> &Inherited);
|
||||
ParserResult<ExtensionDecl> parseDeclExtension(unsigned Flags);
|
||||
ParserResult<UnionDecl> parseDeclUnion(unsigned Flags);
|
||||
|
||||
Reference in New Issue
Block a user