Go to file
Daniel Jasper 4917af67b6 [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!

llvm-svn: 311792
2017-08-25 19:14:53 +00:00
clang [Format] Invert nestingAndIndentLevel pair in WhitespaceManager used for 2017-08-25 19:14:53 +00:00
clang-tools-extra [clang-tidy] Add missing IgnoreMacros doc for modernize-use-equals-default. 2017-08-24 13:45:18 +00:00
compiler-rt tsan: fix darwin build 2017-08-25 15:18:48 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc amdgcn: rewrite barrier() using fence and clang __builtin_amdgcn_s_barrier 2017-08-16 17:09:00 +00:00
libcxx [libcxx] [test] Update for C++17 feature removals. 2017-08-24 21:24:08 +00:00
libcxxabi Revert "[libcxxabi] When built with ASan, __cxa_throw calls __asan_handle_no_return" 2017-08-16 22:05:54 +00:00
libunwind ARM: explicitly specify the 8-byte alignment 2017-08-23 16:50:27 +00:00
lld [MACH-O] Fix the ASM code generated for __stub_helpers section 2017-08-24 23:51:40 +00:00
lldb Add the DWARF DWP files to the Xcode project. 2017-08-25 17:48:01 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [InlineCost] Small changes to early exit condition. NFC. 2017-08-25 19:00:33 +00:00
openmp Use va_copy instead of __va_copy to fix building libomp against musl libc 2017-08-19 23:53:36 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Polly] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-24 21:22:41 +00:00