[PATCH] D50766: Fix false positive unsequenced access and modification warning in array subscript expression.
Nicolas Lesser via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 26 12:19:59 PDT 2018
Rakete1111 added a comment.
> What do you think?
Good idea!
================
Comment at: test/SemaCXX/warn-unsequenced-cxx17.cpp:7
+ // expected-no-diagnostics
+ p[(long long unsigned)(p = 0)] // ok
+}
----------------
Oh no, you forgot a semicolon there! :)
https://reviews.llvm.org/D50766
More information about the cfe-commits
mailing list