summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-20 14:59:22 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 13:01:47 +0100
commit58a43332b3a86db3756e6ad18e31189969c85364 (patch)
treeab71067a374e6b88d5792a4a22ee58d32ffad74b /compilerplugins
parente0eecf8ad57aa207d1db7fc63d9ad8f8d54866e4 (diff)
wrap more stuff in VclPtr
Change-Id: I2f0d8a4fe426d8ee1ac55a05ae8dd0b44f9aab2b
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/vclwidgets.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/vclwidgets.cxx b/compilerplugins/clang/vclwidgets.cxx
index 092770db5051..2c171d0a6e82 100644
--- a/compilerplugins/clang/vclwidgets.cxx
+++ b/compilerplugins/clang/vclwidgets.cxx
@@ -82,6 +82,8 @@ bool containsWindowSubclass(const Type* pType0);
bool containsWindowSubclass(const QualType& qType) {
if (startsWith(qType.getAsString(), "VclPtr"))
return false;
+ if (startsWith(qType.getAsString(), "const VclPtr"))
+ return false;
if (startsWith(qType.getAsString(), "class VclPtr"))
return false;
if (startsWith(qType.getAsString(), "const class VclPtr"))