[clang-tools-extra] [clangd] Adapt Inlay Hint support for Deducing This (PR #68177)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 23 07:14:44 PDT 2023


================
@@ -859,7 +872,9 @@ class InlayHintVisitor : public RecursiveASTVisitor<InlayHintVisitor> {
     else
       ForwardedParams = {Params.begin(), Params.end()};
 
-    NameVec ParameterNames = chooseParameterNames(ForwardedParams);
+    auto ForwardedParamsRef =
----------------
zyn0217 wrote:

Thanks! The control flow looks much clearer now. BTW, I'd like to merge the calculation for `Param` above into this if block, too.

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


More information about the cfe-commits mailing list