CheckClass: the 'virtual destructor' checking is currently inactive

This commit is contained in:
Daniel Marjamäki 2010-09-18 19:03:15 +02:00
parent 395f10aa6d
commit 6ba5385878
1 changed files with 2 additions and 2 deletions

View File

@ -339,7 +339,7 @@ private:
memsetStructError(0, "memfunc", "classname"); memsetStructError(0, "memfunc", "classname");
operatorEqReturnError(0); operatorEqReturnError(0);
operatorEqReturnConstError(0); operatorEqReturnConstError(0);
virtualDestructorError(0, "Base", "Derived"); //virtualDestructorError(0, "Base", "Derived");
thisSubtractionError(0); thisSubtractionError(0);
operatorEqRetRefThisError(0); operatorEqRetRefThisError(0);
operatorEqToSelfError(0); operatorEqToSelfError(0);
@ -357,7 +357,7 @@ private:
"* Missing constructors\n" "* Missing constructors\n"
"* Are all variables initialized by the constructors?\n" "* Are all variables initialized by the constructors?\n"
"* [[CheckMemset|Warn if memset, memcpy etc are used on a class]]\n" "* [[CheckMemset|Warn if memset, memcpy etc are used on a class]]\n"
"* If it's a base class, check that the destructor is virtual\n" //"* If it's a base class, check that the destructor is virtual\n"
"* Are there unused private functions\n" "* Are there unused private functions\n"
"* 'operator=' should return reference to self\n" "* 'operator=' should return reference to self\n"
"* 'operator=' should check for assignment to self\n" "* 'operator=' should check for assignment to self\n"