[PATCH] D51824: StmtPrinter: allow customizing the end-of-line character

George Karpenkov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 7 17:17:26 PDT 2018


george.karpenkov created this revision.
george.karpenkov added reviewers: NoQ, Eugene.Zelenko.

Some environments need a different end-of-line character, namely, dot graphs.
There, "\l" must be used to left-adjust the printed text, as "\n" centers everything printed.


https://reviews.llvm.org/D51824

Files:
  clang/include/clang/AST/Stmt.h
  clang/lib/AST/DeclPrinter.cpp
  clang/lib/AST/StmtPrinter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51824.164549.patch
Type: text/x-patch
Size: 11930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180908/fb1473bf/attachment-0001.bin>


More information about the cfe-commits mailing list