[PATCH] D124344: [clangd] Output inlay hints with `clangd --check`

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 25 00:21:41 PDT 2022


nridge added inline comments.


================
Comment at: clang-tools-extra/clangd/tool/Check.cpp:201
+    for (const auto &Hint : Hints) {
+      vlog("  {0} {1}", Hint.position, Hint.label);
+    }
----------------
upsj wrote:
> nridge wrote:
> > Might be useful for print the hint kind as well?
> right, is the current solution (adding a public toString) okay?
Looks reasonable to me.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124344/new/

https://reviews.llvm.org/D124344



More information about the cfe-commits mailing list