majnemer added a comment.

I wonder if we should have different behavior for MSVC targets.

If I do:

  class Incomplete;
  extern "C" int __stdcall Fn(int, Incomplete, long long);
  auto fnptr = &Fn;

MSVC generates:

  EXTRN   _Fn@12:PROC

It appears that they skip over incomplete types.

Should the behavior for incomplete types depend on the target?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116020

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

Reply via email to