🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #520

name mangler

#520
From: Michael Tiemann
Date: Tue, 02 Apr 1991 04:04
18 lines
920 bytes
    Does anyone have a specification for the mangler that is simpler than
    ferreting it out of the demangler in cplus-dem.cc?

You need to do the whole job because of typedefs.  I.e.,

	typedef int foo;
	typedef int bar;

	foo f (bar);

mangles to the same thing that

	bar f (foo);

mangles to.

Michael
Technical Details
Message-ID: <9104020404.AA19492@cygnus.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!caen!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
References: <9104012007.AA09595@puma.cad.mcc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!caen!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: tiemann@CYGNUS.COM (Michael Tiemann)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: name mangler
Message-ID: <9104020404.AA19492@cygnus.com>
Date: 2 Apr 91 04:04:41 GMT
References: <9104012007.AA09595@puma.cad.mcc.com>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: tiemann@cygnus.com
Followup-To: gnu.g++.help
Distribution: world
Organization: Cygnus Support, Palo Alto CA; Phone +1 415 322 3811
Lines: 18