[PATCH] Handling custom subjects in Attr.td

Aaron Ballman aaron at aaronballman.com
Wed Nov 27 06:55:45 PST 2013


This patch demonstrates the direction I was going to go with custom
subject handling of attributes. It only handles the IBAction
attribute, as that seemed like a simple place to start.

When attempting to deduce the diagnostic argument, I am looking
through to the SubsetSubject's Base member. However, I suspect most
attributes will use the custom diagnostic logic for this.

I am only generating the custom checking code once, and reusing it
as-needed. Also, I am not attempting to support SubsetSubjects within
SubsetSubjects at this point.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SubsetSubject.patch
Type: application/octet-stream
Size: 9032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131127/2fc12811/attachment.obj>


More information about the cfe-commits mailing list