[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:08:17 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24672
Daniel Jasper <djasper at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #11 from Daniel Jasper <djasper at google.com> ---
The are kept on one line:
$printf "std::find_if (a.cbegin (), a.cend (), [&](auto &x){ return x.is_good
();});" | bin/clang-format -style="{BasedOnStyle: LLVM, BreakBeforeBraces:
Allman}"
std::find_if(a.cbegin(), a.cend(), [&](auto &x) { return x.is_good(); });
Are you sure you are using an up to date version?
--
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/3ccc1cac/attachment.html>
More information about the llvm-bugs
mailing list