File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -1948,8 +1948,6 @@ class PatternBindingEntry {
1948
1948
CaptureInfo getCaptureInfo () const { return Captures; }
1949
1949
void setCaptureInfo (CaptureInfo captures) { Captures = captures; }
1950
1950
1951
- unsigned getNumBoundVariables () const ;
1952
-
1953
1951
private:
1954
1952
SourceLoc getLastAccessorEndLoc () const ;
1955
1953
};
Original file line number Diff line number Diff line change @@ -1560,12 +1560,6 @@ VarDecl *PatternBindingEntry::getAnchoringVarDecl() const {
1560
1560
return variables[0 ];
1561
1561
}
1562
1562
1563
- unsigned PatternBindingEntry::getNumBoundVariables () const {
1564
- unsigned varCount = 0 ;
1565
- getPattern ()->forEachVariable ([&](VarDecl *) { ++varCount; });
1566
- return varCount;
1567
- }
1568
-
1569
1563
SourceLoc PatternBindingEntry::getLastAccessorEndLoc () const {
1570
1564
SourceLoc lastAccessorEnd;
1571
1565
getPattern ()->forEachVariable ([&](VarDecl *var) {
You can’t perform that action at this time.
0 commit comments