[C++ PATCH] Remove K&R declaration hack.
commit5367a58ed3e350649584843df74eb2c90825a044
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Aug 2018 11:19:33 +0000 (31 11:19 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Aug 2018 11:19:33 +0000 (31 11:19 +0000)
treec75d0f1844e0d348ab762f048d09ca137a0aaec1
parent91b7fbe434df82af9aaf5ce5af2923b6c31e0527
[C++ PATCH] Remove K&R declaration hack.

https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01885.html
gcc/
* doc/extend.texi (Backwards Compatibility): Remove implicit
extern C leeway of () being (...).
gcc/cp/
* decl.c (decls_match): Remove SYSTEM_IMPLICIT_EXTERN_C matching
of return types and parms.
* parser.c (cp_parser_parameter_declaration_clause): Likewise,
'()' always means '(void)'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264013 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/parser.c
gcc/doc/extend.texi