[llvm-bugs] [Bug 45791] New: BeforeLambdaBody is confused by comment inside lambda
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon May 4 02:01:19 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45791
Bug ID: 45791
Summary: BeforeLambdaBody is confused by comment inside lambda
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: mikhail.strelnikov at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Z:\BeforeLambdaBody-bug>type source.cpp
auto k = []() // comment
{ return; };
Z:\BeforeLambdaBody-bug>"C:\Program Files\LLVM\bin\clang-format.exe"
-style="{BreakBeforeBraces: Custom, BraceWrapping: {BeforeLambdaBody: true},
Standard: Latest}" source.cpp
auto k = []() // comment { return; };
--
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/20200504/8c712fad/attachment.html>
More information about the llvm-bugs
mailing list