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
TargetAttrs.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
