diff --git a/clang-tools-extra/clangd/Hover.cpp b/clang-tools-extra/clangd/Hover.cpp --- a/clang-tools-extra/clangd/Hover.cpp +++ b/clang-tools-extra/clangd/Hover.cpp @@ -546,11 +546,11 @@ // editor, as they might be long. if (ReturnType) { // For functions we display signature in a list form, e.g.: - // 🡺 `x` + // → `x` // Parameters: // - `bool param1` // - `int param2 = 5` - Output.addParagraph().appendText("🡺").appendCode(*ReturnType); + Output.addParagraph().appendText("→").appendCode(*ReturnType); if (Parameters && !Parameters->empty()) { Output.addParagraph().appendText("Parameters:"); markup::BulletList &L = Output.addBulletList(); diff --git a/clang-tools-extra/clangd/test/hover.test b/clang-tools-extra/clangd/test/hover.test --- a/clang-tools-extra/clangd/test/hover.test +++ b/clang-tools-extra/clangd/test/hover.test @@ -9,7 +9,7 @@ # CHECK-NEXT: "result": { # CHECK-NEXT: "contents": { # CHECK-NEXT: "kind": "plaintext", -# CHECK-NEXT: "value": "function foo\n\n🡺 void\n\nvoid foo()" +# CHECK-NEXT: "value": "function foo\n\n→ void\n\nvoid foo()" # CHECK-NEXT: }, # CHECK-NEXT: "range": { # CHECK-NEXT: "end": { diff --git a/clang-tools-extra/clangd/unittests/HoverTests.cpp b/clang-tools-extra/clangd/unittests/HoverTests.cpp --- a/clang-tools-extra/clangd/unittests/HoverTests.cpp +++ b/clang-tools-extra/clangd/unittests/HoverTests.cpp @@ -1762,7 +1762,7 @@ }, R"(function foo -🡺 ret_type +→ ret_type Parameters: - - type