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

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 13 17:48:42 PDT 2018


NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.

Looks great to me and pretty trivial, should somebody who's more familiar with this code take a look?



================
Comment at: clang/lib/AST/StmtPrinter.cpp:72
     PrintingPolicy Policy;
+    std::string NewlineSymbol;
     const ASTContext *Context;
----------------
This variable is used so many times, maybe give it a shorter name?


Repository:
  rC Clang

https://reviews.llvm.org/D51824





More information about the cfe-commits mailing list