[cfe-commits] r90743 - in /cfe/trunk: include/clang/AST/ include/clang/Frontend/ lib/AST/ lib/Frontend/ lib/Index/ lib/Sema/

steve naroff snaroff at apple.com
Mon Dec 7 15:01:17 PST 2009


On Dec 7, 2009, at 1:43 PM, John McCall wrote:

> On Dec 7, 2009, at 4:13 AM, steve naroff wrote:
>> While 'DeclaratorInfo' might not be a perfect name, it follows  
>> terminology in the C99 spec. From my perspective, 'TypeSourceInfo'  
>> isn't a better name (unless it appears in the CXX spec, which I am  
>> much less familiar with).
>
> I'm not sure what you're getting at.

My mistake. For some reason, I got the DeclaratorInfo data structure  
confused with DeclaratorChunk (which is appropriately named). I agree  
that DeclaratorInfo was a bad name for what it represents...

Sorry for the noise,

snaroff

> The spec defines the terms "type" and "declarator".  This structure  
> provides source information for types;  it does not provide any  
> other information about declarators.  If you're suggesting that it  
> *should*, well, I'm open for argument but skeptical.  But meanwhile  
> I'm a little tired of answering questions about what a  
> DeclaratorInfo is supposed to be.
>
> I also asked about this three weeks ago and never got a response.   
> (I apparently did it on an internal list by mistake;  I should have  
> asked on cfedev.  I did ask on IRC, but that's not equivalent.  My  
> apologies to any external contributors who would've liked a chance  
> to weigh in.)
>
> John.
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list