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

Ricardo Sanchez-Saez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 28 10:32:25 PDT 2017


rsanchezsaez added a comment.

I think this makes the warning to trigger on methods such as:

  - (instancetype)initWithValues:(const int32_t [])values
  - (void)updateWithRange:(NSRange)range floatArray:(CGFloat[])array;

(experienced on the just released //Xcode 8.3//).

Perhaps I'm misunderstanding something, but shouldn't the warning only apply to arrays of pointer types?


Repository:
  rL LLVM

https://reviews.llvm.org/D26108





More information about the cfe-commits mailing list