Page MenuHomePhabricator

[Consumed] Narrow Subject for some attributes
AcceptedPublic

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

Details

Reviewers
dblaikie
Summary

This is the former second part of https://reviews.llvm.org/D67740 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

Repository
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