diff --git a/clang/include/clang/AST/DeclObjC.h b/clang/include/clang/AST/DeclObjC.h index 40023c60eab8..3ff7746204dc 100644 --- a/clang/include/clang/AST/DeclObjC.h +++ b/clang/include/clang/AST/DeclObjC.h @@ -785,10 +785,10 @@ public: void setSuperClass(ObjcInterfaceDecl * superCls) { SuperClass = superCls; } - unsigned getNumInstanceMethods() const { return InstanceMethods.size(); } - unsigned getNumClassMethods() const { return ClassMethods.size(); } + int getNumInstanceMethods() const { return InstanceMethods.size(); } + int getNumClassMethods() const { return ClassMethods.size(); } - unsigned getImplDeclNumIvars() const { return NumIvars; } + int getImplDeclNumIvars() const { return NumIvars; } typedef llvm::SmallVector::const_iterator