if (const auto *C = dyn_cast<CaseStmt>(Label)) {
Out << "\\lcase ";
if (C->getLHS())
- C->getLHS()->printPretty(Out, nullptr,
- Context.getPrintingPolicy());
+ C->getLHS()->printPretty(
+ Out, nullptr, Context.getPrintingPolicy(),
+ /*Indentation=*/0, /*NewlineSymbol=*/"\\l");
if (const Stmt *RHS = C->getRHS()) {
Out << " .. ";
- RHS->printPretty(Out, nullptr, Context.getPrintingPolicy());
+ RHS->printPretty(Out, nullptr, Context.getPrintingPolicy(),
+ /*Indetation=*/0, /*NewlineSymbol=*/"\\l");
}
Out << ":";
Out << S->getStmtClassName() << ' '
<< S->getID(Context) << " (" << (const void *)S << ") ";
- S->printPretty(Out, nullptr, Context.getPrintingPolicy());
+ S->printPretty(Out, /*helper=*/nullptr, Context.getPrintingPolicy(),
+ /*Indentation=*/2, /*NewlineSymbol=*/"\\l");
printLocation(Out, S->getBeginLoc());
if (Loc.getAs<PreStmt>())