uncrustify icon indicating copy to clipboard operation
uncrustify copied to clipboard

Objective C++ lambda not being parsed correctly

Open PoeticPete opened this issue 3 years ago • 0 comments

input

const auto test = [=](NSString *param) {};

output

const auto test = [ = ] (NSString * param) {};

config: https://pastebin.com/DU2e0VXB

Issue is objective c has additional bracket logic, but is incorrectly applied to lambda capture lists.

PoeticPete avatar Jul 27 '22 12:07 PoeticPete