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

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 10 23:03:13 PDT 2018


lebedev.ri added inline comments.


================
Comment at: test/SemaCXX/warn-unsequenced-cxx17.cpp:1
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++17 -Wno-unused %s
+
----------------
One last-minute thought: this is only a positive test.
You don't test what happens before C++17.


https://reviews.llvm.org/D50766





More information about the cfe-commits mailing list