Skip to content

Commit 0e94708

Browse files
authored
Merge pull request #32442 from rintaro/ide-completion-ccexprdump
[CodeCompletion] Update CodeCompletionExpr::dump to dump base exprssion
2 parents c7da0f2 + 4358502 commit 0e94708

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/AST/ASTDumper.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1884,6 +1884,10 @@ class PrintExpr : public ExprVisitor<PrintExpr> {
18841884

18851885
void visitCodeCompletionExpr(CodeCompletionExpr *E) {
18861886
printCommon(E, "code_completion_expr");
1887+
if (E->getBase()) {
1888+
OS << '\n';
1889+
printRec(E->getBase());
1890+
}
18871891
PrintWithColorRAII(OS, ParenthesisColor) << ')';
18881892
}
18891893

0 commit comments

Comments
 (0)