r255336 - in /trunk/gcc: cp/ChangeLog cp/name-l...
jason@gcc.gnu.org
jason@gcc.gnu.org
Fri Dec 1 20:19:00 GMT 2017
Author: jason
Date: Fri Dec 1 20:19:13 2017
New Revision: 255336
URL: https://gcc.gnu.org/viewcvs?rev=255336&root=gcc&view=rev
Log:
Give #include hints for <complex>.
* name-lookup.c (get_std_name_hint): Add <complex>.
* parser.c (cp_parser_diagnose_invalid_type_name): Call
suggest_alternative_in_explicit_scope.
(cp_parser_namespace_name): Likewise.
Added:
trunk/gcc/testsuite/g++.dg/lookup/missing-std-include-4.C
trunk/gcc/testsuite/g++.dg/lookup/missing-std-include-5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/cp/parser.c
More information about the Gcc-cvs
mailing list