Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Warn when 'assume_nonnull' infers nullability within an array. | Jordan Rose | 2016-11-10 | 1 | -6/+6 |
| | | | | | | | | | | | ...or within a reference. Both of these add an extra level of indirection that make us less certain that the pointer really was supposed to be non-nullable. However, changing the default behavior would be a breaking change, so we'll just make it a warning instead. Part of rdar://problem/25846421 llvm-svn: 286521 | ||||
* | Add -Wnullability-completeness-on-arrays. | Jordan Rose | 2016-11-10 | 1 | -0/+12 |
This is an addition to (and sub-warning of) -Wnullability-completeness that warns when an array parameter is missing nullability. When the specific warning is switched off, the compiler falls back to only warning on pointer types written as pointer types. Note that use of nullability /within/ an array triggers the completeness checks regardless of whether or not the array-specific warning is enabled; the intent there is simply to determine whether a particular header is trying to be nullability-aware at all. Part of rdar://problem/25846421. llvm-svn: 286520 |