[PATCH] D42768: AST: add an extension to support SwiftCC on MS ABI

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 31 21:48:47 PST 2018


smeenai added a comment.

Some cases that drop the additional namespacing entirely, which is I think what @rjmccall was pointing out:

  // mangles to ?f at n@@YAXXZ
  namespace n {
    void __attribute__((__swiftcall__)) f(void) {}
  };



  // mangles to ?f at s@@QEAAXXZ
  struct __declspec(dllexport) s {
    void __attribute__((__swiftcall__)) f(void) {}
  };


Repository:
  rC Clang

https://reviews.llvm.org/D42768





More information about the cfe-commits mailing list