File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -2128,6 +2128,17 @@ class PrintExpr : public ExprVisitor<PrintExpr> {
21282128 PrintWithColorRAII (OS, ExprModifierColor)
21292129 << " number_of_decls=" << E->getDecls ().size ()
21302130 << " function_ref=" << getFunctionRefKindStr (E->getFunctionRefKind ());
2131+ if (!E->isForOperator ()) {
2132+ PrintWithColorRAII (OS, ExprModifierColor) << " decls=[\n " ;
2133+ interleave (
2134+ E->getDecls (),
2135+ [&](ValueDecl *D) {
2136+ OS.indent (Indent + 2 );
2137+ D->dumpRef (PrintWithColorRAII (OS, DeclModifierColor).getOS ());
2138+ },
2139+ [&] { PrintWithColorRAII (OS, DeclModifierColor) << " ,\n " ; });
2140+ PrintWithColorRAII (OS, ExprModifierColor) << " ]" ;
2141+ }
21312142 PrintWithColorRAII (OS, ParenthesisColor) << ' )' ;
21322143 }
21332144 void visitUnresolvedDeclRefExpr (UnresolvedDeclRefExpr *E) {
You can’t perform that action at this time.
0 commit comments