summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-07 11:05:02 +0200
committerNoel Grandin <noel@peralex.com>2015-05-07 11:18:49 +0200
commit4eeaaf84d4251d77a86155609e21f86add086f3f (patch)
tree2ff9cd189b3f1f5514df755a1b9eaa263c082ec1 /compilerplugins
parent9b1b3c9fdd6022fd8547af19cce62ce18ed6e383 (diff)
fix comment
Change-Id: Ifa59bdc4bfd80fe3100ba5f1ac8119ad990e3936
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/vclwidgets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/vclwidgets.cxx b/compilerplugins/clang/vclwidgets.cxx
index 77a84769a27d..2e7d4eb86fa3 100644
--- a/compilerplugins/clang/vclwidgets.cxx
+++ b/compilerplugins/clang/vclwidgets.cxx
@@ -184,7 +184,7 @@ bool VCLWidgets::VisitCXXDestructorDecl(const CXXDestructorDecl* pCXXDestructorD
<< pCXXDestructorDecl->getSourceRange();
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;
if (pCompoundStatement && pCompoundStatement->size() == 1) {
const CXXMemberCallExpr *pCallExpr = dyn_cast<CXXMemberCallExpr>(*pCompoundStatement->body_begin());