[PATCH] Refactor attribute arguments

Aaron Ballman aaron at aaronballman.com
Mon Jul 22 11:09:32 PDT 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attr_args.patch
Type: application/octet-stream
Size: 2244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130722/cca5162d/attachment.obj>


More information about the cfe-commits mailing list