You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As said in the title, when trying to format the file minilzo.c that can be download here: http://www.oberhumer.com/opensource/lzo/#minilzo, clang-format starts eating up the memory, and never completes...
The text was updated successfully, but these errors were encountered:
Well, AFAIK, that's due to all the #ifs that clang-format processes branch by branch, every possible combination, which provokes exponential complexity :/.
To fix this, one probably needs to rework completely this part of clang-format...
BTW, the file lzodefs.h also takes ages and tons of memory. I haven't waited for it to end, but just taking about 200 lines (out of over 3200) takes over 6 seconds on my machine.
Heya!
As said in the title, when trying to format the file minilzo.c that can be download here: http://www.oberhumer.com/opensource/lzo/#minilzo, clang-format starts eating up the memory, and never completes...
The text was updated successfully, but these errors were encountered: