[C++ Patch] Kill -ffriend-injection
authorNathan Sidwell <nathan@acm.org>
Thu, 3 May 2018 19:26:38 +0000 (19:26 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 3 May 2018 19:26:38 +0000 (19:26 +0000)
commit6c072e217f59a92136af99839ff7cab9065a4fa0
treec1a46ca2286357bf1cd6337b1fd1a6c1d41c0f4e
parent503ac4e037217724c3c8d5468fb757ec398e8077
[C++ Patch] Kill -ffriend-injection

https://gcc.gnu.org/ml/gcc-patches/2018-05/msg00175.html

* doc/extend.texi (Deprecated Features): Remove
-ffriend-injection.
(Backwards Compatibility): Likewise.
* doc/invoke.texi (C++ Language Options): Likewise.
(C++ Dialect Options): Likewise.

c-family/
* c.opt (ffriend-injection): Remove functionality, issue warning.

cp/
* decl.c (cxx_init_decl_processing): Remove flag_friend_injection.
* name-lookup.c (do_pushdecl): Likewise.

testsuite/
Remove -ffriend-injection.
* g++.old-deja/g++.jason/scoping15.C: Delete.
* g++.old-deja/g++.mike/net43.C: Delete.

From-SVN: r259904
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c.opt
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/name-lookup.c
gcc/doc/extend.texi
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.jason/scoping15.C [deleted file]
gcc/testsuite/g++.old-deja/g++.mike/net43.C [deleted file]