diff options
| author | Daniel Jasper <djasper@google.com> | 2013-07-02 13:20:35 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-07-02 13:20:35 +0000 |
| commit | aad1422fa167ff8508c7e56772b0ba1974e4aa00 (patch) | |
| tree | fcc5ee9fc6fc8c7787b5ef95ebdc7bc524c7b89b /lib/CodeGen/CGExpr.cpp | |
| parent | 6ac431c7bae27a42351d2c2ad03dddd5b005ffd5 (diff) | |
| download | clang-aad1422fa167ff8508c7e56772b0ba1974e4aa00.tar.gz clang-aad1422fa167ff8508c7e56772b0ba1974e4aa00.tar.bz2 clang-aad1422fa167ff8508c7e56772b0ba1974e4aa00.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
