]> granicus.if.org Git - clang/commit
Changed clang-format-diff.py to output diff by default. Added -i option to apply...
authorAlexander Kornienko <alexfh@google.com>
Fri, 11 Oct 2013 21:32:01 +0000 (21:32 +0000)
committerAlexander Kornienko <alexfh@google.com>
Fri, 11 Oct 2013 21:32:01 +0000 (21:32 +0000)
commitcf207a62a96adb6bbf99f5e9497da992cd76a8ff
treec9bf3b0c777b462a7663cfc694b960d7e7665c24
parentae76f7f850a9101a20191b10241ca72c23dc40dd
Changed clang-format-diff.py to output diff by default. Added -i option to apply changes to files instead.

Summary:
"svn diff|clang-format-diff.py" will just output the diff.
Now it's possible to use:
  svn diff|clang-format-diff.py|patch -p0
as an equivalent to:
  svn diff|clang-format-diff.py -i
;)

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1840

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