From dc192323e740eec20d6d7c3162067242403aa37b Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 12 Mar 2009 18:42:19 +0000 Subject: [PATCH] Add file I forgot to commit in previous commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66820 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/DeclObjC.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index 9bb327874b..e1737f37f5 100644 --- a/include/clang/AST/DeclObjC.h +++ b/include/clang/AST/DeclObjC.h @@ -225,8 +225,8 @@ public: return ImplementationControl(DeclImplementation); } - virtual Stmt *getBody() const { return Body; } - void setBody(Stmt *B) { Body = B; } + virtual CompoundStmt *getBody() const { return (CompoundStmt*) Body; } + void setBody(CompoundStmt *B) { Body = (Stmt*) B; } // Implement isa/cast/dyncast/etc. static bool classof(const Decl *D) { return D->getKind() == ObjCMethod; } -- 2.40.0