[PATCH] D42614: AST: support ObjC lifetime qualifiers in MS ABI
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 27 21:30:55 PST 2018
rjmccall added a comment.
It's not just that functions can't be overloaded on the parameter-variable type qualifier — it's not part of the function type at all, just like making a parameter 'const int' instead of 'int' is not part of the function type. I understand that MSVC mangles some things that really shouldn't be mangled, but I would greatly prefer if you could make an exception for this.
Separately, re-using existing manglings like this seems *really* sketchy. Is this 100% necessary? There's no way to just fake something up?
Repository:
rC Clang
https://reviews.llvm.org/D42614
More information about the cfe-commits
mailing list