summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-11 15:57:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-12 08:44:50 +0200
commited8952596750cfef30594d5eba5012e667edb968 (patch)
tree1275c71d870c51902b1be7933081272819d5a084 /compilerplugins
parent20eed8b73d683a649d33d7d77e23b6f0c97d7e78 (diff)
improve error message in refcounting plugin
Change-Id: I02b483c1d696913b33112b9248747f9c3d28dc55
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/refcounting.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/compilerplugins/clang/refcounting.cxx b/compilerplugins/clang/refcounting.cxx
index bcfc11bb5bbc..ffbe478300d9 100644
--- a/compilerplugins/clang/refcounting.cxx
+++ b/compilerplugins/clang/refcounting.cxx
@@ -340,7 +340,8 @@ void RefCounting::checkUnoReference(QualType qt, const Decl* decl, const std::st
DiagnosticsEngine::Warning,
"uno::Reference " + rDeclName + " with template parameter that does not contain ::static_type() "
+ qt.getAsString()
- + ", parent is " + rParentName,
+ + ", parent is " + rParentName
+ + ", should probably be using rtl::Reference instead"
decl->getLocation())
<< decl->getSourceRange();
}