Otherwise the brace was detected as a function brace, not wrong per se, but when directly calling the lambda the calling parens were put on the next line.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D129946
[clang-format] Mark constexpr lambdas as lambda ClosedPublic Authored by HazardyKnusperkeks on Jul 16 2022, 2:51 PM.
Details Summary Otherwise the brace was detected as a function brace, not wrong per se, but when directly calling the lambda the calling parens were put on the next line.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 16 2022, 4:52 PM
This revision was landed with ongoing or failed builds.Jul 18 2022, 12:42 PM Closed by commit rGd2eda4920238: [clang-format] Mark constexpr lambdas as lambda (authored by HazardyKnusperkeks). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 445601 clang/lib/Format/UnwrappedLineParser.cpp
clang/unittests/Format/TokenAnnotatorTest.cpp
|
Maybe move it up so that it's grouped with kw_const?