-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing mangling specification for parenthesized unresolved names #188
Comments
Clang's |
Clang's For |
That seems reasonable to me. And yeah, we should add the old mangling. |
Consider the following case:
What scope the name
x
belongs to is necessary unknown in the context of the calls from the template definitions.As can be seen, both functions are callable with the same template arguments.
I do not see anything in the specification that provides a mangling for the parenthesized name.
Clang appears to handle this by using
cp
in place ofcl
for the call expression; however, this solution does not exactly handle the case where a unary&
operator either forms a pointer or a pointer-to-member:The text was updated successfully, but these errors were encountered: