[clang-tools-extra] [clangd] Show comment of field on hover (PR #182738)

via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 12 06:24:17 PDT 2026


================
@@ -1016,6 +1016,26 @@ class Foo final {})cpp";
          HI.Parameters.emplace();
          HI.AccessSpecifier = "public";
        }},
+      {// Getter with comment
+       R"cpp(
+          struct X { 
----------------
timon-ul wrote:

nit: you have a trailing whitespace here

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


More information about the cfe-commits mailing list