Summary: | [C++0x] decltype in member function's trailing return type when defined outside of class | ||
---|---|---|---|
Product: | gcc | Reporter: | Bruno De Fraine <bruno-gcc> |
Component: | c++ | Assignee: | Jason Merrill <jason> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | daniel.kruegler, jason, paolo.carlini |
Priority: | P3 | ||
Version: | 4.7.2 | ||
Target Milestone: | 4.8.1 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2013-03-11 00:00:00 | |
Bug Depends on: | |||
Bug Blocks: | 54366 |
Description
Bruno De Fraine
2012-08-23 13:41:58 UTC
I'm wondering if we shouldn't just have a metabug for decltype and one for lambdas... looking for volunteers (Daniel? ;) Great. I'm adding to the decltype one 16375 too to be safe, but it's worth another look. Author: jason Date: Sun Mar 17 02:38:21 2013 New Revision: 196740 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196740 Log: PR c++/54359 * parser.c (cp_parser_direct_declarator): Fix late return for out-of-class defn of member function. Added: trunk/gcc/testsuite/g++.dg/cpp0x/trailing8.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c Author: jason Date: Mon Mar 18 03:41:10 2013 New Revision: 196765 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196765 Log: PR c++/54359 PR c++/56639 * parser.c (cp_parser_direct_declarator): Bail if we see a qualified-id not at namespace scope. Added: trunk/gcc/testsuite/g++.dg/template/arrow2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/g++.dg/parse/typename7.C Fixed for 4.8.1. Author: jason Date: Tue Mar 4 22:16:03 2014 New Revision: 208332 URL: http://gcc.gnu.org/viewcvs?rev=208332&root=gcc&view=rev Log: PR c++/60415 PR c++/54359 * parser.c (cp_parser_direct_declarator): Set declarator to cp_error_declarator on invalid qualified-id. Added: trunk/gcc/testsuite/g++.dg/parse/ambig8.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c |