]> gcc.gnu.org Git - gcc.git/commit
Improve various diagnostic issues.
authorJason Merrill <jason@redhat.com>
Mon, 14 Nov 2016 04:58:45 +0000 (23:58 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 14 Nov 2016 04:58:45 +0000 (23:58 -0500)
commite7555e42d0143f2a5ee50425902abde7c5091ad3
treea84feb431c6724da3b75512ec479a168b52abe58
parent3ce968519a2b871e3d396dd785359c47218dba1a
Improve various diagnostic issues.

* call.c (build_new_method_call_1): Include template arguments in
error message.
(print_error_for_call_failure): Likewise.
(build_new_function_call): Pass them in.
* name-lookup.c (supplement_binding_1): Don't complain about a
conflict with an erroneous declaration.
* error.c (dump_decl): Fix printing of alias declaration.
* decl.c (make_typename_type): Call cxx_incomplete_type_error.
* parser.c (cp_parser_diagnose_invalid_type_name): Likewise.
* semantics.c (perform_koenig_lookup): Don't wrap an error in
TEMPLATE_ID_EXPR.

From-SVN: r242376
14 files changed:
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl.c
gcc/cp/error.c
gcc/cp/name-lookup.c
gcc/cp/parser.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/alias-decl-56.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/crash7.C
gcc/testsuite/g++.dg/template/error56.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/forward-inner.C
gcc/testsuite/g++.old-deja/g++.other/decl5.C
libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc
libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc
This page took 0.066401 seconds and 5 git commands to generate.