Crash has been reported in the forum: https://sourceforge.net/p/cppcheck/discussion/development/thread/138788ac6b/ A small test has been added to avoid regression.
6 lines
212 B
C
6 lines
212 B
C
// To test:
|
|
// ~/cppcheck/cppcheck --dump naming_test.c && python ../naming.py --var='[a-z].*' --function='[a-z].*' naming_test.c.dump
|
|
|
|
// Should not crash when there is no name
|
|
void func(int number, bool);
|