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.82k stars 248 forks source link

C/C++: Problem when using aggregate init and double #295

Open Altyrost opened 4 years ago

Altyrost commented 4 years ago

Example:

struct Bar {
    double value;
}

void foo()
{
    Bar bar = {1.};
}

void bar(){}

Found func count : 1, name "foo.bar"