================ @@ -867,13 +867,28 @@ class InlayHintVisitor : public RecursiveASTVisitor<InlayHintVisitor> { } } + static bool argumentMatchesParamName(StringRef ArgName, StringRef ParamName) { + // Exact match. + if (ParamName == ArgName) + return true; + + // Parameter name uses "a" prefix (e.g. "aParam"). + if (ParamName.size() > 1 && ParamName[0] == 'a' && ---------------- JVApen wrote:
I might be complicating things, though shouldn't this also cover `anApple` https://github.com/llvm/llvm-project/pull/119162 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits