summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/refcounting.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-28 16:25:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-28 16:26:33 +0200
commit9308f353186fb39a02eddfc281fc72ac1026e0b6 (patch)
tree7c655cf5e142c811ff4dc652ec6d69c7ce133a57 /compilerplugins/clang/refcounting.cxx
parent36936d5a8c2e6fc32dcc65d860bdfdafd2fbb766 (diff)
Adapt to Clang 3.4 (in preparation of a buildbot on CentOS 7)
Change-Id: Ie2859f03b31c57deb7fd0deba3285f782e33b239
Diffstat (limited to 'compilerplugins/clang/refcounting.cxx')
-rw-r--r--compilerplugins/clang/refcounting.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/refcounting.cxx b/compilerplugins/clang/refcounting.cxx
index 9bb948517712..9ce88a370e21 100644
--- a/compilerplugins/clang/refcounting.cxx
+++ b/compilerplugins/clang/refcounting.cxx
@@ -427,7 +427,7 @@ bool RefCounting::VisitFunctionDecl(const FunctionDecl * functionDecl) {
if (methodDecl && methodDecl->size_overridden_methods() > 0) {
return true;
}
- checkUnoReference(functionDecl->getReturnType(), functionDecl, "", "return");
+ checkUnoReference(compat::getReturnType(*functionDecl), functionDecl, "", "return");
return true;
}