[cfe-commits] r66820 - /cfe/trunk/include/clang/AST/DeclObjC.h
Ted Kremenek
kremenek at apple.com
Thu Mar 12 11:42:20 PDT 2009
Author: kremenek
Date: Thu Mar 12 13:42:19 2009
New Revision: 66820
URL: http://llvm.org/viewvc/llvm-project?rev=66820&view=rev
Log:
Add file I forgot to commit in previous commit.
Modified:
cfe/trunk/include/clang/AST/DeclObjC.h
Modified: cfe/trunk/include/clang/AST/DeclObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclObjC.h?rev=66820&r1=66819&r2=66820&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclObjC.h (original)
+++ cfe/trunk/include/clang/AST/DeclObjC.h Thu Mar 12 13:42:19 2009
@@ -225,8 +225,8 @@
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; }
More information about the cfe-commits
mailing list