[cfe-commits] r45179 - /cfe/trunk/include/clang/AST/DeclObjC.h
Chris Lattner
clattner at apple.com
Tue Dec 18 14:09:29 PST 2007
On Dec 18, 2007, at 1:41 PM, Steve Naroff wrote:
> Author: snaroff
>
> Fix serious regression with ObjcInterfaceDecl. Now that we are
> storing -1 to mean undefined, we need to change the respective
> getters from unsigned->int.
Oiy, sorry about that steve:
>
> +++ cfe/trunk/include/clang/AST/DeclObjC.h Tue Dec 18 15:41:31 2007
> @@ -785,10 +785,10 @@
> 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(); }
I think these can remain 'unsigned'?
-Chris
More information about the cfe-commits
mailing list