forked from OSchip/llvm-project
Added an "ivar_empty" method to ObjCInterfaceDecl.
llvm-svn: 53099
This commit is contained in:
parent
e66ca6f35a
commit
b23c3aaf7a
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue