]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add namespaces to class templates.
authorKeith Seitz <keiths@redhat.com>
Mon, 23 Jan 2017 21:37:39 +0000 (13:37 -0800)
committerKeith Seitz <keiths@redhat.com>
Fri, 3 Feb 2017 19:44:00 +0000 (11:44 -0800)
commit7c5fe081f876186ed071fa1024d18f1864accb28
treeb61ea5179661e3fd25fca8830f4e026ab31074c7
parent7e3daa60be1454dca96ddace8e050c30197229cf
Add namespaces to class templates.

This fixes an error that occurs because the class template generic is
defined only at the global scope. Also add namespace information to the
generic in case we have two similarly named templates in different
namespaces.

!!keiths: There are still symbol lookup failures!
gdb/compile/compile-cplus-templates.c
gdb/compile/compile-cplus-types.c
gdb/compile/compile-cplus.h
gdb/testsuite/gdb.compile/cp-namespace-template.cc [new file with mode: 0644]
gdb/testsuite/gdb.compile/cp-namespace-template.exp [new file with mode: 0644]