[PATCH] Target-specific attributes

Aaron Ballman aaron at aaronballman.com
Fri Dec 27 09:10:40 PST 2013


Holiday ping, with rebased patch.

~Aaron

On Thu, Dec 19, 2013 at 10:11 AM, Aaron Ballman <aaron at aaronballman.com> wrote:
> Ping
>
> On Sun, Dec 15, 2013 at 8:49 AM, Aaron Ballman <aaron at aaronballman.com> wrote:
>> This patch removes the TargetAttributesSema concept and replaces it
>> with one where the parsed attributes are responsible for knowing their
>> target-specific nature, instead of letting Sema figure it out. This is
>> necessary so that __has_attribute can eventually determine whether a
>> parsed attribute applies to the given target or not.
>>
>> All of the semantic handling which was previously in
>> TargetAttributesSema.cpp has been moved to SemaDeclAttr.cpp, but still
>> only applies to the specific target by asking the attribute whether it
>> exists in the given target or not. The target-specific information is
>> generated automatically via tablegen.
>>
>> ~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TargetAttrs.patch
Type: application/octet-stream
Size: 39657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131227/55a568e4/attachment.obj>


More information about the cfe-commits mailing list