Remove BlockStmtExpr.
Block literals are now represented by the concrete BlockExpr class.
This is cleanup (removes a FIXME).
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56288 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index 0df91d5..b7d5c8e 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -2886,8 +2886,8 @@
BSI->isVariadic);
BlockTy = Context.getBlockPointerType(BlockTy);
- return new BlockStmtExpr(CaretLoc, BlockTy,
- &BSI->Params[0], BSI->Params.size(), Body.take());
+ return new BlockExpr(CaretLoc, BlockTy, &BSI->Params[0], BSI->Params.size(),
+ Body.take());
}
/// ExprsMatchFnType - return true if the Exprs in array Args have