[C++ PATCH] cleanup check_field_decls
authorNathan Sidwell <nathan@acm.org>
Fri, 1 Nov 2019 12:59:25 +0000 (12:59 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 1 Nov 2019 12:59:25 +0000 (12:59 +0000)
commit10e1540cdf2509d5414e5a2bc205b0811cf80637
treeee175398b0fbe64b9d75bb547b35c4c635400f3f
parent9de3d4f0493871f054a163917cf7695d66cb23ad
[C++ PATCH] cleanup check_field_decls

https://gcc.gnu.org/ml/gcc-patches/2019-11/msg00012.html
cp/
* class.c (check_field_decls): Refactor.

testsuite/
* g++.dg/template/fn.C: New.

From-SVN: r277707
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/fn.C [new file with mode: 0644]