kunaltyagi / nsiqcppstyle

Cpp style checker in python
GNU General Public License v2.0
26 stars 24 forks source link

Fix misinterpretation of pointer to array as function declaration. #11

Closed larslj closed 6 years ago

larslj commented 6 years ago

This fixes an issue that causes a definition of a pointer to an array to be misinterpreted as a function declaration. E.g. foo is interpreted as a function name in the statement "foor (*bar)[];"

kunaltyagi commented 6 years ago

Looks good. Add a simple test case and it's good to go