mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Just code cleanup.
Swift SVN r8118
This commit is contained in:
@@ -46,8 +46,7 @@ void SILFunction::setDeclContext(Decl *D) {
|
||||
}
|
||||
|
||||
void SILFunction::setDeclContext(Expr *E) {
|
||||
if (!E) return;
|
||||
DeclCtx = dyn_cast<CapturingExpr>(E);
|
||||
DeclCtx = dyn_cast_or_null<CapturingExpr>(E);
|
||||
}
|
||||
|
||||
ASTContext &SILFunction::getASTContext() const {
|
||||
|
||||
Reference in New Issue
Block a user