erik.pilkington added inline comments.

================
Comment at: lib/AST/ItaniumMangle.cpp:2680
+    break;
+#include "clang/Basic/AArch64SVEACLETypes.def"
   }
----------------
jfb wrote:
> @rjmccall you probably should review this part.
Sorry for the drive by comment, but: All of these mangling should really be 
using the "vendor extension" production IMO:

`<type> ::= u <source-name>`

As is, these manglings intrude on the users's namespace, (i.e. if they had a 
type named `objc_selector` or something), and confuse demanglers which 
incorrectly assume these are substitutable (vendor extension builtin types are 
substitutable too though, but that should be handled here).


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62960/new/

https://reviews.llvm.org/D62960



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to