[clang-tools-extra] [clangd] Support go-to-definition on type hints. The core part (PR #86629)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Tue May 21 23:45:25 PDT 2024


================
@@ -55,6 +55,19 @@ struct ExpectedHint {
   }
 };
 
+struct ExpectedHintLabelPiece {
+  std::string Label;
+  std::optional<std::string> PointsTo = std::nullopt;
----------------
HighCommander4 wrote:

It's not immediately clear what this stores, let's add:

```
// Stores the name of a range annotation
```

https://github.com/llvm/llvm-project/pull/86629


More information about the cfe-commits mailing list