terryyin / lizard

A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.
Other
1.84k stars 248 forks source link

fix: Do not count `void` as a parameter (C/C++) #370

Closed jdehaan closed 5 months ago

jdehaan commented 1 year ago

Fixes #368

void used in a parameter declaration should not lead to the parameter count to increase. Semantically void means no parameter in that case.