File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -591,13 +591,13 @@ class InlayHintVisitor : public RecursiveASTVisitor<InlayHintVisitor> {
591
591
592
592
bool dataTraverseStmtPre (Stmt *S) {
593
593
// Do not show inlay hints for PseudoObjectExprs. They're never
594
- // genuine user codes in C++ .
594
+ // genuine user codes.
595
595
//
596
596
// For example, __builtin_dump_struct would expand to a PseudoObjectExpr
597
597
// that includes a couple of calls to a printf function. Printing parameter
598
598
// names for that anyway would end up with duplicate parameter names (which,
599
599
// however, got de-duplicated after visiting) for the printf function.
600
- if (AST. getLangOpts (). CPlusPlus && isa<PseudoObjectExpr>(S))
600
+ if (isa<PseudoObjectExpr>(S))
601
601
return false ;
602
602
return true ;
603
603
}
You can’t perform that action at this time.
0 commit comments