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 05:17:07 +0000 (14:17 +0900)
commitb3e3e0ad39c4fef86bca4456c0b3dadf68dc3fe6
tree3ba5245eec39d473d1539e519f9c9f2b5b279cc9
parentfd9538a6763cbad2b0efaa6f141f6ca95c88ca02
* 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/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/local6.C