[PATCH] D150635: [clangd] Implement end-definition-comment inlay hints
Qingyuan Zheng via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 15 22:20:01 PDT 2023
daiyousei-qz added a comment.
Requesting for some advice
================
Comment at: clang-tools-extra/clangd/unittests/InlayHintTests.cpp:1666
+
+ $anon[[struct {
+ int x;
----------------
This is unwanted behavior from my understanding. Do you guys have any insight how we could fix this? What I can think of is tracking if we are currently inside a variable declaration and turning off the hint. However, this would have some side effects on
```
auto f = [] {
struct S {};
};
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150635/new/
https://reviews.llvm.org/D150635
More information about the cfe-commits
mailing list