diff options
| author | Daniel Jasper <djasper@google.com> | 2013-05-14 09:30:02 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-05-14 09:30:02 +0000 |
| commit | 1fb8d8814ae28a4ebe94652faafad8545a115bfe (patch) | |
| tree | 16180a3abc0b42737856707915195e4a22a7f697 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | f7f295f321fd434e1e542844a71f538a56f2f8fb (diff) | |
| download | clang-1fb8d8814ae28a4ebe94652faafad8545a115bfe.tar.gz clang-1fb8d8814ae28a4ebe94652faafad8545a115bfe.tar.bz2 clang-1fb8d8814ae28a4ebe94652faafad8545a115bfe.tar.xz | |
Fix clang-format bug in unwrapped-line merging.
Before (in styles that allow it), clang-format would not merge an
if statement onto a single line, if only the second line was format
(e.g. in an editor integration):
if (a)
return; // clang-format invoked on this line.
With this patch, this gets properly merged to:
if (a) return; // ...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
