[llvm-bugs] [Bug 24672] Lack of option to keep short lambda on a single line
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 7 06:29:08 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24672
Heinrich Janzing <heinrich.janzing at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |---
--- Comment #12 from Heinrich Janzing <heinrich.janzing at gmail.com> ---
Weird. My results:
$ printf "std::find_if (a.cbegin (), a.cend (), [&](auto &x){ return x.is_good
();});" | clang-format -style="{BasedOnStyle: LLVM, BreakBeforeBraces: Allman}"
std::find_if(a.cbegin(), a.cend(), [&](auto &x)
{
return x.is_good();
});
$ clang-format --version
clang-format version 3.7.0 (tags/RELEASE_370/final)
I get the same result with a 3.8.0 trunk build (the one shipping with the last
clang-format VS plugin build).
This is on Windows 7.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151007/bb31039b/attachment.html>
More information about the llvm-bugs
mailing list