<div dir="ltr">MangleContext in AST is where the mangling code lives. Look at include/clang/AST/Mangle.h for the interface, and lib/AST/ItaniumMangle.cpp and lib/AST/MicrosoftMangle.cpp for most of the implementation.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 7:20 AM, Jan-Patrick Lehr <span dir="ltr"><<a href="mailto:my.new.social.email@gmail.com" target="_blank">my.new.social.email@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
I am fairly new to the clang and llvm world and searched for a way to get the mangled names for c++ constructs in clang. I found something in CodeGen/CodeGenModule and wonder whether this is the only way to get the mangled name.<br>
<br>
So my question is: What is the cleanest way to get the mangled name of a c++ function / member function et cetera? Or where to look for such functionality?<br>
<br>
Thanks for your answers.<br>
Cheers,<br>
JP<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>