[PATCH] D50039: [FunctionAttrs] Added nonnull atribute to libc function args

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 16 14:28:20 PDT 2018


efriedma added a comment.

I think we still need the clang patch to preemptively strip nonnull annotations from C library functions before we turn on EnableNonnullArgPropagation by default, to be safe.  But yes, the right approach is to add the correct nonnull attributes, then enable nonnull propagation.


https://reviews.llvm.org/D50039





More information about the llvm-commits mailing list