This patch addresses PR14339 so that you are no longer able to
override a member function with mismatched calling conventions.  Eg)

class E {
public:
  virtual void __attribute__((stdcall)) g();
};

class F : public E {
public:
  void g();
};

In order to accomplish this, the patch adds some functionality to the
TargetInfo subclasses so they can decide the default calling
convention based off the type of function it is to be attached to,
when that information is available.

Comments and suggestions welcome!

~Aaron

Attachment: virt_cc.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to