mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Revert "more code cleanup." Accidentally committed too much.
This reverts commit 4e476a57689da4acf3e3dd5d5e385b18b57d571c. Swift SVN r8117
This commit is contained in:
@@ -46,7 +46,8 @@ void SILFunction::setDeclContext(Decl *D) {
|
||||
}
|
||||
|
||||
void SILFunction::setDeclContext(Expr *E) {
|
||||
DeclCtx = dyn_cast_or_null<CapturingExpr>(E);
|
||||
if (!E) return;
|
||||
DeclCtx = dyn_cast<CapturingExpr>(E);
|
||||
}
|
||||
|
||||
ASTContext &SILFunction::getASTContext() const {
|
||||
|
||||
Reference in New Issue
Block a user