[cfe-commits] r44171 - in /cfe/trunk: Driver/RewriteTest.cpp Parse/ParseObjc.cpp Sema/Sema.h Sema/SemaDecl.cpp include/clang/AST/DeclObjC.h include/clang/Parse/Action.h
Chris Lattner
clattner at apple.com
Thu Nov 15 10:18:49 PST 2007
On Nov 15, 2007, at 9:30 AM, Steve Naroff wrote:
>>> ====================================================================
>>> =
>>> --- cfe/trunk/include/clang/AST/DeclObjC.h (original)
>>> +++ cfe/trunk/include/clang/AST/DeclObjC.h Thu Nov 15 06:35:21 2007
>>> @@ -626,6 +626,8 @@
>>> /// declared in class Decl.
>>> /// instance (true) or class (false) method.
>>> bool IsInstance : 1;
>>> + bool IsVariadic : 1;
>>> +
>>
>> Should "isvariadic" be a property of the methoddecl or should it
>> be a property of the selector? Doesn't the message expression
>> also need this?
>>
>
> Traditionally, it has been associated with the method decl.
>
> I added a "numExprs" slot to message expression. I was previously
> using the selector for this info...
Ok,
-Chris
More information about the cfe-commits
mailing list