[C++ Patch] Kill -ffriend-injection
commit984120c942fad71a1fce31be9730df5fd7422e6b
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 May 2018 19:26:38 +0000 (3 19:26 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 May 2018 19:26:38 +0000 (3 19:26 +0000)
treec1a46ca2286357bf1cd6337b1fd1a6c1d41c0f4e
parentb4141ef194a9b938ffe6087dad596d474fe01783
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259904 138bc75d-0d04-0410-961f-82ee72b054a4
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]