[PATCH] D50526: Model type attributes as regular Attrs

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 14 09:40:07 PDT 2018


rnk added a comment.

The issue was related to ignored calling convention attributes on Win64:

  int a(int, const int *, int, int, __int64);
  class b {
  public:
    typedef int c;
  };
  template <class d, class e,
            typename e::c(__stdcall f)(int, const int *, int, int, __int64)>
  void AtlAxDialogCreateT(int, d, int, int, __int64);
  int g, i, j, k;
  char *h;
  void l() { AtlAxDialogCreateT<char *, b, a>(g, h, i, j, k); }

Compiled with:
clang -c -fms-extensions -fms-compatibility --target=x86_64-windows-msvc


Repository:
  rC Clang

https://reviews.llvm.org/D50526





More information about the cfe-commits mailing list