fix comment
Change-Id: Ifa59bdc4bfd80fe3100ba5f1ac8119ad990e3936
This commit is contained in:
@@ -184,7 +184,7 @@ bool VCLWidgets::VisitCXXDestructorDecl(const CXXDestructorDecl* pCXXDestructorD
|
|||||||
<< pCXXDestructorDecl->getSourceRange();
|
<< pCXXDestructorDecl->getSourceRange();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// check that the destructor for a OutputDevice subclass does nothing except call into the dispose() method
|
// check that the destructor for a OutputDevice subclass does nothing except call into the disposeOnce() method
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
if (pCompoundStatement && pCompoundStatement->size() == 1) {
|
if (pCompoundStatement && pCompoundStatement->size() == 1) {
|
||||||
const CXXMemberCallExpr *pCallExpr = dyn_cast<CXXMemberCallExpr>(*pCompoundStatement->body_begin());
|
const CXXMemberCallExpr *pCallExpr = dyn_cast<CXXMemberCallExpr>(*pCompoundStatement->body_begin());
|
||||||
|
Reference in New Issue
Block a user