[cfe-commits] r72555 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td include/clang/Parse/Action.h include/clang/Parse/DeclSpec.h lib/Frontend/PrintParserCallbacks.cpp lib/Parse/DeclSpec.cpp lib/Parse/ParseDecl.cpp lib/Parse/ParseDeclC

Douglas Gregor dgregor at apple.com
Thu May 28 18:35:16 PDT 2009

On May 28, 2009, at 5:33 PM, Eli Friedman <eli.friedman at gmail.com>  

> On Thu, May 28, 2009 at 4:31 PM, Douglas Gregor<dgregor at apple.com>  
> wrote:
>>  2) We can extend DeclGroups to contain information about any tags
>>  that are declared/defined within the declaration specifiers of a
>>  variable, e.g.,
>>    struct Point { int x, y, z; } p;
>>  This will help improve AST printing and template instantiation,
>>  among other things.
> Does the attached look like a reasonable step in that direction?

Yes, although for template instantiation I think we might want to pass  
the owned Decl to FinalizeDeclGroup rather than the DeclSpec.

Thanks, Eli!

   - Doug

More information about the cfe-commits mailing list