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

John McCall rjmccall at apple.com
Mon Dec 7 10:43:11 PST 2009


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.  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.



More information about the cfe-commits mailing list