[clang-tools-extra] [clangd] Improve `BlockEnd` inlayhint presentation (PR #136106)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 20 23:04:45 PDT 2025


================
@@ -22,10 +22,16 @@ namespace clang {
 namespace clangd {
 class ParsedAST;
 
+struct InlayHintOptions {
+  // Minimum lines for BlockEnd inlay-hints to be shown
----------------
HighCommander4 wrote:

Let's make this comment a bit more specific:

```
// Minimum height of a code block in lines for a BlockEnd hint to be shown
// Includes the lines containing the braces
```

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


More information about the cfe-commits mailing list