Just code cleanup.

Swift SVN r8118
This commit is contained in:
Adrian Prantl
2013-09-11 23:07:00 +00:00
parent b9ac293046
commit da57c68c62
2 changed files with 2 additions and 4 deletions

View File

@@ -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 {