decl2.c (mangling_aliases): New variable.
authorJason Merrill <jason@redhat.com>
Sat, 9 May 2015 03:28:52 +0000 (23:28 -0400)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Sat, 9 May 2015 03:28:52 +0000 (03:28 +0000)
commit613aba20e554f92bc7008dabb1b0c42a6207da33
tree7caf557f25ae5b4702351dd8b0cff09dda864d87
parent09c5f835e7ca90b344a6471acbe360fc33b77fa7
decl2.c (mangling_aliases): New variable.

* decl2.c (mangling_aliases): New variable.
(note_mangling_alias, generate_mangling_aliases): New.
(cp_write_global_declarations): Call generate_mangling_aliases.
(generate_mangling_alias): Split out from...
* mangle.c (mangle_decl): ...here.
* cp-tree.h: Declare note_mangling_alias.

From-SVN: r222934
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/mangle.c