[PATCH] D54055: CXXNameMangler::mangleFunctionParam: fix assertion

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 2 22:27:36 PDT 2018


rjmccall added a comment.

That sounds more like this use of the mangler isn't manipulating the function type context correctly.  But actually I think the problem is that it's ridiculous to assume that arbitrary local declarations have meaningful manglings.  Why are we calling `getStaticDeclName` on a variable that's obviously not static?


Repository:
  rC Clang

https://reviews.llvm.org/D54055





More information about the cfe-commits mailing list