On 06/14/2012 04:13 PM, Sriraman Tallam wrote:
    C++ Frontend maintainers, Could you please take a look at the
front-end part when you find the time?

It seems to me that what you have here are target-specific attributes that affect the signature of a function such that they make two declarations different that would otherwise declare the same function. Stepping away from the specific notion of versioning, it seems that these are the questions that you want the front end to be able to ask about these attributes:

* Does this attribute affect a function signature?
* Do the attributes on these two declarations make them different?
* Do the attributes on these two declarations make one a better match?
* Given a call to function X, should I call another function instead?
* Return a string representation of the attributes on this function that affect its signature.

Does this seem like a worthwhile direction to other people, or do you like better the approach the patch takes, handling versioning directly?

Jason

Reply via email to