This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ parser: Should we get rid of cp_parser_declarator_id?


Volker Reichelt wrote:

> Shouldn't we fold cp_parser_declarator_id into the caller and call
> cp_parser_id_expression directly?

Originally, I was trying to have a function for each non-terminal.  I'm
not going to be dogmatic about that, but is there a good reason to
remove the function?  As Gaby says, perhaps we could mark the function
inline, if you're worried about performance?

Thanks,

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]