This is an archive of the discontinued LLVM Phabricator instance.

[Consumed] Narrow Subject for some attributes
AcceptedPublic

Authored by comex on Sep 19 2019, 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.Sep 19 2019, 4:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2019, 4:51 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
dblaikie accepted this revision.Sep 19 2019, 5:42 PM

Looks good - thanks!

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