[PATCH] Refactor attribute arguments

Aaron Ballman aaron at aaronballman.com
Mon Jul 22 11:13:01 PDT 2013

And then I promptly attached the wrong patch.  Sorry.  Correct patch
attached here.


On Mon, Jul 22, 2013 at 2:09 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> 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: check_args.patch
Type: application/octet-stream
Size: 12993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130722/c248f471/attachment.obj>

More information about the cfe-commits mailing list