Summary:
Currently 🡺 is used in hover response to represent return types, but it
is not widely available. Changing this back to original to support more clients.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73336
// 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();
# CHECK-NEXT: "result": {\r
# CHECK-NEXT: "contents": {\r
# CHECK-NEXT: "kind": "plaintext",\r
-# CHECK-NEXT: "value": "function foo\n\n🡺 void\n\nvoid foo()"\r
+# CHECK-NEXT: "value": "function foo\n\n→ void\n\nvoid foo()"\r
# CHECK-NEXT: },\r
# CHECK-NEXT: "range": {\r
# CHECK-NEXT: "end": {\r
},
R"(function foo
-🡺 ret_type
+→ ret_type
Parameters:
-
- type