diff options
author | Hans Wennborg <hans@hanshq.net> | 2017-08-25 20:30:43 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2017-08-25 20:30:43 +0000 |
commit | 0bc78694a319f80a28ca30e4d9d69c292ee12dee (patch) | |
tree | 09c431bf02c7f29e0ae61cba1161a147a439e23a /docs/AddressSanitizer.rst | |
parent | b47c628b1c5c88a4db60d2dda6411a2365a45dd1 (diff) |
Merging r311792:
------------------------------------------------------------------------
r311792 | djasper | 2017-08-25 12:14:53 -0700 (Fri, 25 Aug 2017) | 9 lines
[Format] Invert nestingAndIndentLevel pair in WhitespaceManager used for
alignments
Indent should be compared before nesting level to determine if a token
is on the same scope as the one we align with. Because it was inverted,
clang-format sometimes tried to align tokens with tokens from outer
scopes, causing the assert(Shift >= 0) to fire.
This fixes bug #33507. Patch by Beren Minor, thank you!
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_50@311800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/AddressSanitizer.rst')
0 files changed, 0 insertions, 0 deletions