]> granicus.if.org Git - clang/commit
[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)
commitbab3a8fceb6126a02d8355a2fc5c94773e276df8
treefb90c9f3339066932223ee25569f0a098cf2905e
parent4f9b33129774a9bc9ff26d08a5f61052b7af872f
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354151 91177308-0d34-0410-b5e6-96231b3b80d8
test/SemaCXX/warn-unsequenced-cxx17.cpp [deleted file]
test/SemaCXX/warn-unsequenced.cpp