]> granicus.if.org Git - clang/commit
clang-format-diff.py: pass through errors to stderr, not stdout
authorAlp Toker <alp@nuanti.com>
Thu, 5 Dec 2013 08:14:54 +0000 (08:14 +0000)
committerAlp Toker <alp@nuanti.com>
Thu, 5 Dec 2013 08:14:54 +0000 (08:14 +0000)
commit4e57be3aa1dec7858977cc97de5656ced5ab46e1
tree139b6856436c96a7c92810a8cd59298ec78a84e6
parent1cfafb428e81b31d06e8805a55ed02a870f2c44b
clang-format-diff.py: pass through errors to stderr, not stdout

Also use write() for unified diff output to avoid further processing by the
print function (e.g. trailing newline).

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