aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-11-06 16:18:42 -0500
committerJason Merrill <jason@gcc.gnu.org>2009-11-06 16:18:42 -0500
commite1faa105c10af6f990e97a137187e04b21addbb7 (patch)
tree1fe0df5266124ea89ffc21c4d73fd145d1248d5c /gcc/builtins.c
parent3c3905fc17fbaad4a0a3753fb166161154119e0b (diff)
downloadgcc-e1faa105c10af6f990e97a137187e04b21addbb7.zip
gcc-e1faa105c10af6f990e97a137187e04b21addbb7.tar.gz
gcc-e1faa105c10af6f990e97a137187e04b21addbb7.tar.bz2
re PR c++/15946 (Unhelpful error message when "typename" is omitted)
PR c++/15946 * parser.c (cp_parser_check_template_parameters): Don't talk about specialization at function scope. (cp_parser_diagnose_invalid_type_name): Handle dependent scope. (cp_parser_parse_and_diagnose_invalid_type_name): Likewise. (cp_parser_expression_statement): Suggest typename. * error.c (dump_decl) [SCOPE_REF]: Print the type here. (dump_expr) [SCOPE_REF]: Call it. (dump_type) [UNBOUND_CLASS_TEMPLATE]: Check TFF_UNQUALIFIED_NAME. * cxx-pretty-print.c (pp_cxx_unqualified_id): Print class template args. From-SVN: r153978
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions