[PATCH] D19031: clang-format: Flexible line endings
Daniel Jasper via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 12 14:14:35 PDT 2016
djasper added a comment.
Passing snippets / single lines from an IDE does not make sense. Don't try to go down this road. clang-format always needs the full file as context.
If you are already in an IDE, that IDE should control the line endings, not clang-format. Write a thin wrapper that changes clang-format's output to use the correct line endings.
http://reviews.llvm.org/D19031
More information about the cfe-commits
mailing list