mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Disallow constructors in protocols
Swift SVN r7701
This commit is contained in:
@@ -477,7 +477,7 @@ public:
|
||||
bool NeedDefinition,
|
||||
SmallVectorImpl<Decl *> &Decls);
|
||||
|
||||
ParserResult<ConstructorDecl> parseDeclConstructor(bool HasContainerType);
|
||||
ParserResult<ConstructorDecl> parseDeclConstructor(unsigned Flags);
|
||||
ParserResult<DestructorDecl> parseDeclDestructor(unsigned Flags);
|
||||
|
||||
ParserResult<OperatorDecl> parseDeclOperator(bool AllowTopLevel);
|
||||
|
||||
Reference in New Issue
Block a user