summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-15 14:10:22 +0200
committerNoel Grandin <noel@peralex.com>2015-06-15 14:10:22 +0200
commit9db80b1499e09cde000160434728f7b231c30db8 (patch)
tree3f64033244682e943aa43f8081333cc9e8c127b8 /compilerplugins
parent86051d87cd1762fe77099862674d7831e3322cce (diff)
fix vclwidget plugin warning message
Change-Id: Iac6450ed3a7742022d97b0121165f992b483eea0
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 7487fbf3c36f..7be617ff0316 100644
--- a/compilerplugins/clang/vclwidgets.cxx
+++ b/compilerplugins/clang/vclwidgets.cxx
@@ -183,7 +183,7 @@ bool VCLWidgets::VisitCXXDestructorDecl(const CXXDestructorDecl* pCXXDestructorD
if (foundVclPtrField && pCompoundStatement && pCompoundStatement->size() == 0) {
report(
DiagnosticsEngine::Warning,
- "OutputDevice subclass with VclPtr field must call dispose() from its destructor.",
+ "OutputDevice subclass with VclPtr field must call disposeOnce() from its destructor.",
pCXXDestructorDecl->getLocStart())
<< pCXXDestructorDecl->getSourceRange();
return true;