[PATCH] Add nonnull in CodeGen for __attribute__((nonnull))

Aaron Ballman aaron.ballman at gmail.com
Fri Jul 11 09:23:26 PDT 2014

On Fri, Jul 11, 2014 at 10:13 AM, hfinkel at anl.gov <hfinkel at anl.gov> wrote:
> Hi rsmith, nlewycky, aaron.ballman,
> We now have an LLVM-level nonnull attribute that can be applied to function parameters, and we emit it for reference types (as of r209723), but we don't yet emit it when a __attribute__((nonnull)) is provided. This patch adds support for turning     __attribute__((nonnull))  on the source level into nonnull at the IR level.



More information about the cfe-commits mailing list