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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs