[PATCH] D15406: Add warning for attribute-cleanup on function parameter.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 10 16:10:12 PST 2015


rsmith added a subscriber: rsmith.
rsmith accepted this revision.
rsmith added a reviewer: rsmith.
rsmith added a comment.
This revision is now accepted and ready to land.

This looks fine to me, though it would be better to express the restrictions as a `SubjectList` on the attribute definition in `include/clang/Basic/Attr.td` rather than here in code.


http://reviews.llvm.org/D15406





More information about the cfe-commits mailing list