mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove unused methods from CaptureInfo
This commit is contained in:
@@ -83,10 +83,6 @@ public:
|
||||
TheFunction.get<AbstractClosureExpr *>()->setCaptureInfo(captures);
|
||||
}
|
||||
|
||||
void getLocalCaptures(SmallVectorImpl<CapturedValue> &Result) const {
|
||||
getCaptureInfo().getLocalCaptures(Result);
|
||||
}
|
||||
|
||||
bool hasType() const {
|
||||
if (auto *AFD = TheFunction.dyn_cast<AbstractFunctionDecl *>())
|
||||
return AFD->hasInterfaceType();
|
||||
|
||||
Reference in New Issue
Block a user