Mangled name of a scope_decl is its name

* src/abg-ir.h (scope_decl::scope_decl): The mangled name is the name.
This commit is contained in:
Dodji Seketeli 2013-04-23 11:21:15 +02:00 committed by Dodji Seketeli
parent a76076c904
commit 723c74b5a7

View File

@ -276,7 +276,7 @@ public:
scope_decl(const std::string& name,
location locus,
visibility vis = VISIBILITY_DEFAULT)
: decl_base(name, locus, /*mangled_name=*/"", vis)
: decl_base(name, locus, /*mangled_name=*/name, vis)
{}