There was already a helper method named
checkFunctionOrMethodArgumentIndex whcih would perform semantic
checking for attributes.  This patch refactors alloc_size, nonnull,
format_args and the ownership attributes to use the helper method
instead of the copy and pasted code.

No functional changes intended, but there are some new test cases to
test coverage.

~Aaron

Attachment: attr_args.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to