diff options
author | Steve Naroff <snaroff@apple.com> | 2008-09-17 18:37:59 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-09-17 18:37:59 +0000 |
commit | 9c3c902835ef7d37300463ad47176ec21a67dc8b (patch) | |
tree | 6b26484d256a1bdc61ec0fb5a2f19699af85113f /lib/AST/StmtSerialization.cpp | |
parent | 4e6153b49ba773e78e1395137fb067e1ba4e25e4 (diff) |
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
Diffstat (limited to 'lib/AST/StmtSerialization.cpp')
-rw-r--r-- | lib/AST/StmtSerialization.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/StmtSerialization.cpp b/lib/AST/StmtSerialization.cpp index 5dbd3cd541..dea0ba4342 100644 --- a/lib/AST/StmtSerialization.cpp +++ b/lib/AST/StmtSerialization.cpp @@ -1112,13 +1112,13 @@ ObjCStringLiteral* ObjCStringLiteral::CreateImpl(Deserializer& D, ASTContext& C) // Serialization for Clang Extensions. //===----------------------------------------------------------------------===// -void BlockStmtExpr::EmitImpl(Serializer& S) const { +void BlockExpr::EmitImpl(Serializer& S) const { S.Emit(getType()); S.Emit(getCaretLocation()); S.EmitOwnedPtr(Body); } -BlockStmtExpr* BlockStmtExpr::CreateImpl(Deserializer& D, ASTContext& C) { +BlockExpr* BlockExpr::CreateImpl(Deserializer& D, ASTContext& C) { QualType Q = QualType::ReadVal(D); SourceLocation L = SourceLocation::ReadVal(D); /*CompoundStmt* BodyStmt = cast<CompoundStmt>(*/D.ReadOwnedPtr<Stmt>(C)/*)*/; |