AST: Remove unused methods from CaptureInfo

This commit is contained in:
Slava Pestov
2024-04-18 22:47:23 -04:00
parent a991179017
commit d222470a0b
7 changed files with 7 additions and 51 deletions

View File

@@ -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();