+2018-10-25 Jason Merrill <jason@redhat.com>
+
+ * parser.c (cp_parser_sizeof_operand): Remove redundant use of
+ grokdeclarator.
+
2018-10-24 Jakub Jelinek <jakub@redhat.com>
PR c++/86288
/* If all went well, then we're done. */
if (cp_parser_parse_definitely (parser))
- {
- cp_decl_specifier_seq decl_specs;
-
- /* Build a trivial decl-specifier-seq. */
- clear_decl_specs (&decl_specs);
- decl_specs.type = type;
-
- /* Call grokdeclarator to figure out what type this is. */
- expr = grokdeclarator (NULL,
- &decl_specs,
- TYPENAME,
- /*initialized=*/0,
- /*attrlist=*/NULL);
- }
+ expr = type;
}
/* If the type-id production did not work out, then we must be