[Sema][NFC] SequenceChecker: Add tests for references/members, and prepare for the...
authorBruno Ricci <riccibrun@gmail.com>
Fri, 15 Feb 2019 18:12:58 +0000 (18:12 +0000)
committerBruno Ricci <riccibrun@gmail.com>
Fri, 15 Feb 2019 18:12:58 +0000 (18:12 +0000)
commit4569e4a3ef143e2c35936cfbe831c51ce32d076f
treed23636e211d76aa3298f333e6776de68a5787501
parent5ad52e35a8e40aacb77cdb59c10f1b19c6ca1ee2
[Sema][NFC] SequenceChecker: Add tests for references/members, and prepare for the C++17 tests

Add some tests for unsequenced operations with members and references.
For now most of it is unhandled but it shows what work needs to be done.

Also merge the tests for the C++17 sequencing rules in warn-unsequenced.cpp
since we want to make sure that the appropriate warnings are still present
in C++17 without duplicating the whole content of warn-unsequenced.cpp.

llvm-svn: 354151
clang/test/SemaCXX/warn-unsequenced-cxx17.cpp [deleted file]
clang/test/SemaCXX/warn-unsequenced.cpp