================
@@ -755,12 +812,33 @@ class InlayHintVisitor : public 
RecursiveASTVisitor<InlayHintVisitor> {
       bool NameHint = shouldHintName(Args[I], Name);
       bool ReferenceHint = shouldHintReference(Params[I], ForwardedParams[I]);
 
+      bool IsDefault = isa<CXXDefaultArgExpr>(Args[I]);
----------------
HighCommander4 wrote:

Something I'm a bit confused about at the moment: if this loop iterates over 
default arguments as well, how does it avoid producing parameter hints for them?

https://github.com/llvm/llvm-project/pull/95712
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to