[clangd] Improve Selection testcase, pin to C++17
authorSam McCall <sam.mccall@gmail.com>
Wed, 7 Sep 2022 14:00:21 +0000 (16:00 +0200)
committerSam McCall <sam.mccall@gmail.com>
Wed, 7 Sep 2022 14:32:04 +0000 (16:32 +0200)
commit8af74da5bdbdccf13de84a4610ef75cd3dbac09e
tree9520e6d4625166a4425f662097d283c7e9786eb2
parent897f3ddc6154fee9bc072f800ceab8202b236b0a
[clangd] Improve Selection testcase, pin to C++17

17 vs 14 have different ASTs, this causes D131465 to have to touch this test.
While here, make sure we're being clear about *which* nodes we're matching.

Differential Revision: https://reviews.llvm.org/D133423
clang-tools-extra/clangd/unittests/SelectionTests.cpp