[PATCH] D40463: [analyzer] Fix false negative on post-increment of uninitialized variable.

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 26 03:56:59 PST 2017


JonasToth added inline comments.


================
Comment at: docs/ReleaseNotes.rst:261
+- Static Analyzer can now properly detect and diagnose unary pre-/post-
+  increment/decrement on an uninitialized values.
+
----------------
lebedev.ri wrote:
> JonasToth wrote:
> > The end of the sentence should be either 'on uninitialized values' or 'on an uninitialized values'.
> > The end of the sentence should be either 'on uninitialized values' or 'on an uninitialized values'.
> But it is already `on an uninitialized values.` ?
Sorry, my tablet autocompleted :(

With 'an' values needs to be singular 'an' -> 'value'. If you want 'values' drop the 'an'.


Repository:
  rL LLVM

https://reviews.llvm.org/D40463





More information about the cfe-commits mailing list