[PATCH] D26108: Add -Wnullability-completeness-on-arrays.

Jordan Rose via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 28 10:33:37 PDT 2017


jordan_rose added a comment.

No, the *arrays themselves* need to be marked as nullable or non-nullable. Remember that in C array parameters are passed as pointers.

The compiler should give you a fix-it that shows the correct syntax.


Repository:
  rL LLVM

https://reviews.llvm.org/D26108





More information about the cfe-commits mailing list