Attr.td claims that type_tag_for_datatype only applies to VarDecl subjects, but SemaDeclAttr.cpp was not checking for any subject whatsoever. This patch makes SemaDeclAttr.cpp check for the proper subject, and adds a testcase for it. However, since I couldn't find documentation on this attribute, I wasn't certain whether this was the correct approach, or whether Attr.td had the incorrect subject.
~Aaron
type_tag_for_datatype.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
