2019-11-18 18:41:57 +01:00
|
|
|
// To test:
|
|
|
|
// ~/cppcheck/cppcheck --dump naming_test.cpp && python ../naming.py --var='[a-z].*' --function='[a-z].*' naming_test.cpp.dump
|
|
|
|
|
|
|
|
// No error for mismatching Constructor/Destructor names should be issued, they can not be changed.
|
|
|
|
class TestClass1
|
|
|
|
{
|
|
|
|
TestClass1() {}
|
|
|
|
~TestClass1() {}
|
2022-06-01 06:54:31 +02:00
|
|
|
TestClass1(const TestClass1 &) {}
|
|
|
|
TestClass1(TestClass1 &&) {}
|
2019-11-18 18:41:57 +01:00
|
|
|
};
|