summaryrefslogtreecommitdiffstats
path: root/clang/tools/scan-view/startfile.py
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-07-02 13:20:35 +0000
committerDaniel Jasper <djasper@google.com>2013-07-02 13:20:35 +0000
commita3fc21a0f1b89d59207b10ef7c4438ad1d4ced8b (patch)
tree18ef40ee19ae061efc83078a401b2ea9022d082e /clang/tools/scan-view/startfile.py
parentc931fce4042097671188bbd6b8064e2be5b1e3f5 (diff)
downloadbcm5719-llvm-a3fc21a0f1b89d59207b10ef7c4438ad1d4ced8b.tar.gz
bcm5719-llvm-a3fc21a0f1b89d59207b10ef7c4438ad1d4ced8b.zip
Fix ranges computed by git clang-format.
Before, the computed byte range would include the trailing newline. clang-format on the other hand counts whitespace as belonging to the following token, so that git-clang-format inadvertendly reformats the first unmodified line as well. It is not entirely clear whether clang-format's behavior itself should be modified, but for now this seems to be a safe change. llvm-svn: 185423
Diffstat (limited to 'clang/tools/scan-view/startfile.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud