[PATCH] PR19091, libcxxabi fix of wrong demangling of "operator>(int)"

Richard Smith richard at metafoo.co.uk
Mon May 12 11:19:27 PDT 2014


This does not seem like a reasonable approach. The problem is that we're looking at the contents of the already-demangled buffer to determine how to demangle and then making incorrect assumptions about it. We should stop making those assumptions.

It doesn't seem difficult for parse_name to track whether the last component in the <name> within an <encoding> had template arguments, and that's what we need to know to determine how to demangle a function or function template specialization.

http://reviews.llvm.org/D3646






More information about the cfe-commits mailing list