[PATCH] D50766: Fix false positive unsequenced access and modification warning in array subscript expression.

Mateusz Janek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 31 01:53:41 PDT 2018


stryku marked 2 inline comments as done.
stryku added a comment.

@Rakete1111 or anyone else, any more comments? (:



================
Comment at: test/SemaCXX/warn-unsequenced-cxx17.cpp:7
+  // expected-no-diagnostics
+  p[(long long unsigned)(p = 0)] // ok
+}
----------------
Rakete1111 wrote:
> Oh no, you forgot a semicolon there! :)
Sorry. I remember that I had this problem and I've resolved it. Apparently I've sent wrong patch file.


https://reviews.llvm.org/D50766





More information about the cfe-commits mailing list