We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4d306f + de9f3bb commit 95ef319Copy full SHA for 95ef319
lib/Parse/ParseDecl.cpp
@@ -4554,15 +4554,6 @@ VarDecl *Parser::parseDeclVarGetSet(Pattern *pattern,
4554
return PrimaryVar;
4555
}
4556
4557
-static Optional<std::pair<AccessorDecl*, size_t>>
4558
-findFirstNonNull(ArrayRef<AccessorDecl*> accessors) {
4559
- for (auto i : indices(accessors)) {
4560
- if (accessors[i])
4561
- return std::make_pair(accessors[i], i);
4562
- }
4563
- return None;
4564
-}
4565
-
4566
/// Record a bunch of parsed accessors into the given abstract storage decl.
4567
void Parser::ParsedAccessors::record(Parser &P, AbstractStorageDecl *storage,
4568
bool invalid, ParseDeclOptions flags,
0 commit comments