Re: [C++ Patch] Remove pointless code in grokdeclarator

2015-06-22 Thread Paolo Carlini
Hi, On 06/22/2015 06:56 PM, Jason Merrill wrote: I think we should keep a comment to clarify why we don't care about type_quals here. Ok, I will commit with a comment added. Thanks, Paolo.

Re: [C++ Patch] Remove pointless code in grokdeclarator

2015-06-22 Thread Jason Merrill
I think we should keep a comment to clarify why we don't care about type_quals here. Jason

[C++ Patch] Remove pointless code in grokdeclarator

2015-06-22 Thread Paolo Carlini
Hi, I think this qualifies as obvious: we reset type_quals to TYPE_UNQUALIFIED and then we only use it in a 'if (type_quals != TYPE_UNQUALIFIED)' test before returning. Thanks, Paolo. /// 2015-06-22 Paolo Carlini * decl.c (grokdeclarator): Remove pointless cod