[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
Thu Oct 11 02:51:28 PDT 2018


Rakete1111 added inline comments.


================
Comment at: test/SemaCXX/warn-unsequenced-cxx17.cpp:1
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++17 -Wno-unused %s
+
----------------
lebedev.ri wrote:
> One last-minute thought: this is only a positive test.
> You don't test what happens before C++17.
It is tested. Look at the diff for test/SemaCXX/warn-unsequenced.cpp :)
Or are you suggesting to merge the two files?


https://reviews.llvm.org/D50766





More information about the cfe-commits mailing list