summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/staticmethods.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-04 10:25:48 +0200
committerNoel Grandin <noel@peralex.com>2015-08-04 10:25:48 +0200
commit3d5dc80b0760ad37537cf449e7ac3836f68ad910 (patch)
tree69a97193eb09f85d74be4d229804274cd01d6506 /compilerplugins/clang/staticmethods.cxx
parentloplugin:refcounting (diff)
downloadcore-3d5dc80b0760ad37537cf449e7ac3836f68ad910.tar.gz
core-3d5dc80b0760ad37537cf449e7ac3836f68ad910.zip
fix crash in refcounting plugin
introduced by commit c15b4cf39a74176cee64795129d76f411d2c0a69 "Adapt to current Clang trunk towards 3.7" Change-Id: I00f58d3bc79e641df9bba4e9b1d5c8463b87dc42
Diffstat (limited to 'compilerplugins/clang/staticmethods.cxx')
-rw-r--r--compilerplugins/clang/staticmethods.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/staticmethods.cxx b/compilerplugins/clang/staticmethods.cxx
index 4fbddeb0d262..a02348f9205c 100644
--- a/compilerplugins/clang/staticmethods.cxx
+++ b/compilerplugins/clang/staticmethods.cxx
@@ -55,7 +55,7 @@ bool isDerivedFromTestFixture(const CXXRecordDecl *decl) {
if (// not sure what hasAnyDependentBases() does,
// but it avoids classes we don't want, e.g. WeakAggComponentImplHelper1
!decl->hasAnyDependentBases() &&
- !compat::forallBases(*decl, BaseCheckNotTestFixtureSubclass, true)) {
+ !compat::forallBases(*decl, BaseCheckNotTestFixtureSubclass, nullptr, true)) {
return true;
}
return false;