]> git.ipfire.org Git - thirdparty/gcc.git/commit
parser.c (inject_this_parameter): Split out from cp_parser_late_return_type_opt.
authorJason Merrill <jason@redhat.com>
Mon, 26 Sep 2011 03:56:10 +0000 (23:56 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 26 Sep 2011 03:56:10 +0000 (23:56 -0400)
commit382346e535ff0d18de34888258c948e908646fb6
tree5dc91fef74bce55e6b16b338d7748374662af4fa
parent02aaf894b5992f67cd6cc9fd9a6364ab7cbef2ab
parser.c (inject_this_parameter): Split out from cp_parser_late_return_type_opt.

* parser.c (inject_this_parameter): Split out from
cp_parser_late_return_type_opt.
(cp_parser_class_specifier_1): Use it for NSDMIs.
* tree.c (bot_replace): Replace NSDMI 'this' with real 'this'.

From-SVN: r179179
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/nsdmi-defer4.C [new file with mode: 0644]