Added an "ivar_empty" method to ObjCInterfaceDecl.

llvm-svn: 53099
This commit is contained in:
Ted Kremenek 2008-07-03 15:30:49 +00:00
parent e66ca6f35a
commit b23c3aaf7a
1 changed files with 1 additions and 0 deletions

View File

@ -317,6 +317,7 @@ public:
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; }