Go to file
Martin Probst b2f06eae8d clang-format: [JS] fix indenting bound functions.
Summary:
The previous fix to force build style wrapping if the previous token is a closing parenthesis broke a peculiar pattern where users parenthesize the function declaration in a bind call:
    fn((function() { ... }).bind(this));

This restores the previous behaviour by reverting that change, but narrowing the special case for unindenting closing parentheses to those followed by semicolons and opening braces, i.e. immediate calls and function declarations.

Reviewers: djasper

Subscribers: cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D33640

llvm-svn: 304135
2017-05-29 07:50:52 +00:00
clang clang-format: [JS] fix indenting bound functions. 2017-05-29 07:50:52 +00:00
clang-tools-extra ClangdTests.cpp: Use "clang/Config/config.h" instead of "llvm/Config/config.h". 2017-05-27 23:19:28 +00:00
compiler-rt [asan] Enable back halt_on_error-torture.cc disabled on PowerPC. 2017-05-26 23:14:06 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Fix coroutine test failures caused by API misusages. 2017-05-29 06:42:01 +00:00
libcxxabi [demangler] Fix a exponential string copying bug 2017-05-28 23:15:50 +00:00
libunwind [libunwind] Fix executable stack directive on Linux. 2017-05-16 20:18:57 +00:00
lld [lld][ELF]Add option to make .dynamic read only 2017-05-26 19:12:38 +00:00
lldb Fixing Memory Leak 2017-05-26 14:26:14 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [PPC] Fix assertion failure during binary encoding with -mcpu=pwr9 2017-05-29 07:12:39 +00:00
openmp Fix for KMP_AFFINITY=respect with multiple processor groups 2017-05-15 19:05:59 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Delinearize memory accesses that reference parameters coming from function calls 2017-05-27 15:18:53 +00:00