[cfe-commits] r53099 - /cfe/trunk/include/clang/AST/DeclObjC.h
Ted Kremenek
kremenek at apple.com
Thu Jul 3 08:30:56 PDT 2008
Author: kremenek
Date: Thu Jul 3 10:30:49 2008
New Revision: 53099
URL: http://llvm.org/viewvc/llvm-project?rev=53099&view=rev
Log:
Added an "ivar_empty" method to ObjCInterfaceDecl.
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=53099&r1=53098&r2=53099&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclObjC.h (original)
+++ cfe/trunk/include/clang/AST/DeclObjC.h Thu Jul 3 10:30:49 2008
@@ -317,6 +317,7 @@
ivar_iterator ivar_begin() const { return Ivars; }
ivar_iterator ivar_end() const { return Ivars + ivar_size();}
unsigned ivar_size() const { return NumIvars; }
+ bool ivar_empty() const { return NumIvars == 0; }
unsigned getNumInstanceMethods() const { return NumInstanceMethods; }
unsigned getNumClassMethods() const { return NumClassMethods; }
More information about the cfe-commits
mailing list