Page MenuHomePhabricator

[Consumed] Narrow Subject for some attributes

Authored by comex on Thu, Sep 19, 4:51 PM.



This is the former second part of that was split out (and rewritten).

Error out when the callable_when, set_typestate and test_typestate attributes are applied to a constructor or static method; previously Clang would ignore them or crash, depending on the attribute.

Diff Detail

rC Clang

Event Timeline

comex created this revision.Thu, Sep 19, 4:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptThu, Sep 19, 4:51 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
dblaikie accepted this revision.Thu, Sep 19, 5:42 PM

Looks good - thanks!

This revision is now accepted and ready to land.Thu, Sep 19, 5:42 PM