mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rewrite the way we build capture list so we don't miss capturing "this". <rdar://problem/12583581>.
Swift SVN r3093
This commit is contained in:
@@ -1335,6 +1335,7 @@ public:
|
||||
|
||||
ArrayRef<ValueDecl*> getCaptures() { return Captures; }
|
||||
void setCaptures(ArrayRef<ValueDecl*> C) { Captures = C; }
|
||||
void computeCaptures(ASTContext &C);
|
||||
|
||||
bool isNotCaptured() { return IsNotCaptured; }
|
||||
void setIsNotCaptured(bool v) { IsNotCaptured = v; }
|
||||
|
||||
Reference in New Issue
Block a user