OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Apr 2010 21:13:07 +0000 (21:13 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:47:33 +0000 (09:47 +0900)
commit46036d45bf033521e3b5206872d635b4f717ba10
tree49c8e556d295e782135c9deef3494ae20feb0d78
parent784ffa9c775856970bf6c982f0148e4465e4d9df
* parser.c (cp_parser_class_specifier): Set class location to that
of IDENTIFIER_NODE instead of '{' when possible.
* semantics.c (begin_class_definition): Do not overide locations
with less precise ones.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158030 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/local6.C