[PATCH] Improved source range in nonnull diagnostics

Aaron Ballman aaron at aaronballman.com
Thu Jul 31 12:21:54 PDT 2014


The attach patch addresses a FIXME asking for improved source range
information when a nonnull parameter or return type is not a pointer
type. A few questions come to mind:

1) Is my addition to ObjCMethodDecl the correct way to get return type
source range information?
2) Does this patch require tests? If so, do we have any source range
tests I should model after?

Thanks!

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nonnull.patch
Type: application/octet-stream
Size: 4886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140731/db68c976/attachment.obj>


More information about the cfe-commits mailing list