]> granicus.if.org Git - clang/commit
clang-format: Use Rewriter again to write the output files.
authorDaniel Jasper <djasper@google.com>
Wed, 30 Sep 2015 13:59:29 +0000 (13:59 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 30 Sep 2015 13:59:29 +0000 (13:59 +0000)
commit502d79bca4a9ff7f13b744cc49eed3302f9d201c
tree6ff5c156c03209702440769d69f2b62f34c5561e
parent0884c5dd85066589c5bac6233b78a89f5ca6c006
clang-format: Use Rewriter again to write the output files.

This has two advantages:
1. Atomic writes.
2. Proper handling of line endings (hopefully solving llvm.org/PR24999

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248904 91177308-0d34-0410-b5e6-96231b3b80d8
tools/clang-format/ClangFormat.cpp