ClangFormat oddly formats Lambdas

后端 未结 0 1085
天涯浪人
天涯浪人 2020-12-03 16:10

ClangFormat for C++ changes this line: f(1, -[](){}); to a two-liner:

f(
  1, -[](){});

The key elements seem to be that there i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题