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> {
2128
2128
PrintWithColorRAII (OS, ExprModifierColor)
2129
2129
<< " number_of_decls=" << E->getDecls ().size ()
2130
2130
<< " 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
+ }
2131
2142
PrintWithColorRAII (OS, ParenthesisColor) << ' )' ;
2132
2143
}
2133
2144
void visitUnresolvedDeclRefExpr (UnresolvedDeclRefExpr *E) {
You can’t perform that action at this time.
0 commit comments