Re: [PATCH] D18793: fix for 19986, extra spacing around c++14 lambda capture with initializer

2016-04-07 Thread Jacek Sieka via cfe-commits
arnetheduck planned changes to this revision. arnetheduck added a comment. Thanks for the comments - I'll see when I have time to get back to this as the current patch happens to take care of my (rather limited) use case.. Comment at: lib/Format/UnwrappedLineParser.cpp:1086 @@

[PATCH] D18793: fix for 19986, extra spacing around c++14 lambda capture with initializer

2016-04-05 Thread Jacek Sieka via cfe-commits
arnetheduck created this revision. arnetheduck added a reviewer: djasper. arnetheduck added a subscriber: cfe-commits. Herald added a subscriber: klimek. Here's a little one-off patch that fixes https://llvm.org/bugs/show_bug.cgi?id=19986 for me, by allowing a few more things inside [] when trying

clang-format: fix for 19986, extra spacing around c++14 lambda capture with initializer

2016-04-04 Thread Jacek Sieka via cfe-commits
Hello, Here's a little one-off patch that fixes https://llvm.org/bugs/show_bug.cgi?id=19986 for me, by allowing a few more things inside [] when trying to match a lambda capture section. I hope someone can help it find its way into the main repo. Cheers, Jacek Index: lib/Format/UnwrappedLinePars