r214241 - in /branches/c++-concepts: ChangeLog....
asutton@gcc.gnu.org
asutton@gcc.gnu.org
Wed Aug 20 18:53:00 GMT 2014
Author: asutton
Date: Wed Aug 20 18:53:44 2014
New Revision: 214241
URL: https://gcc.gnu.org/viewcvs?rev=214241&root=gcc&view=rev
Log:
2014-08-15 Andrew Sutton <andrew.n.sutton@gmail.com>
Additional declaration restrictions on variable concepts.
* gcc/cp/decl.c (is_concept_var): New.
(cp_finish_decl): Check for uninitialized variable
concepts.
(grokvardecl): Don't set the concept flag for non-template variables.
* g++.dg/concepts/decl-diagnose.C: Add tests.
Modified:
branches/c++-concepts/ChangeLog.concepts
branches/c++-concepts/gcc/cp/decl.c
branches/c++-concepts/gcc/testsuite/g++.dg/concepts/decl-diagnose.C
More information about the Gcc-cvs
mailing list