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

This LGTM, I think this could help more than people might at first realize. I 
love the idea that I can use clang-format in dry-run (-n) mode to now make line 
endings seem a compile error..



================
Comment at: clang/lib/Format/Format.cpp:1360
+                        Style.UseCRLF) :
+          Style.UseCRLF);
     ContinuationIndenter Indenter(Style, Tokens.getKeywords(),
----------------
The great thing about this is if I don't want derived line endings I save 
scanning through the code twice counting the line endings


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D19031/new/

https://reviews.llvm.org/D19031



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to