summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/unittests/TweakTests.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-12-16 15:57:43 +0100
committerSam McCall <sam.mccall@gmail.com>2019-12-16 15:57:43 +0100
commit8f876d5105507f874c0fb86bc779c9853eab3fe2 (patch)
treeb2c58b10c688ee22f4216766717e7a2bfb0d41e3 /clang-tools-extra/clangd/unittests/TweakTests.cpp
parent2500a8d5d8813a3e31fc9ba8dd45e211439a1e3d (diff)
downloadbcm5719-llvm-8f876d5105507f874c0fb86bc779c9853eab3fe2.tar.gz
bcm5719-llvm-8f876d5105507f874c0fb86bc779c9853eab3fe2.zip
Revert "[clangd] Reapply b60896fad926 Fall back to selecting token-before-cursor if token-after-cursor fails."
This reverts commit 2500a8d5d8813a3e31fc9ba8dd45e211439a1e3d.
Diffstat (limited to 'clang-tools-extra/clangd/unittests/TweakTests.cpp')
-rw-r--r--clang-tools-extra/clangd/unittests/TweakTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/unittests/TweakTests.cpp b/clang-tools-extra/clangd/unittests/TweakTests.cpp
index b6734b72380..8627439d455 100644
--- a/clang-tools-extra/clangd/unittests/TweakTests.cpp
+++ b/clang-tools-extra/clangd/unittests/TweakTests.cpp
@@ -1971,7 +1971,7 @@ TEST_F(DefineOutlineTest, TriggersOnFunctionDecl) {
// Basic check for function body and signature.
EXPECT_AVAILABLE(R"cpp(
class Bar {
- [[void [[f^o^o^]]() [[{ return; }]]]]
+ [[void [[f^o^o]]() [[{ return; }]]]]
};
void foo();
OpenPOWER on IntegriCloud