================
@@ -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]);
----------------
torshepherd wrote:
Ah. It's actually because `getHintRange` returns a nullopt. I added a guard to
the if statement to prevent regressions
https://github.com/llvm/llvm-project/pull/95712
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits