diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-29 08:55:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-29 08:55:27 +0200 |
commit | 1ce7176ba1b39f02ab45056023f8e7622f48cc74 (patch) | |
tree | b891c603eac63fe4520ff51100a3d822160b719f /compilerplugins/clang/externandnotdefined.cxx | |
parent | 6439d93cbe64bacba1bcb858dd7cbb6a33fca60b (diff) |
Remove support for Clang < 3.3
Change-Id: I185852a738bac10dc6d331afccfcbc7ae1225cb1
Diffstat (limited to 'compilerplugins/clang/externandnotdefined.cxx')
-rw-r--r-- | compilerplugins/clang/externandnotdefined.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/externandnotdefined.cxx b/compilerplugins/clang/externandnotdefined.cxx index 2deca8adadcf..57669a57dac8 100644 --- a/compilerplugins/clang/externandnotdefined.cxx +++ b/compilerplugins/clang/externandnotdefined.cxx @@ -33,7 +33,7 @@ bool ExternAndNotDefined::VisitFunctionDecl(const FunctionDecl * functionDecl) { return true; } if (functionDecl->isDefined() || functionDecl->isPure() - || (compat::getLinkage(functionDecl->getLinkageAndVisibility()) + || (functionDecl->getLinkageAndVisibility().getLinkage() != ExternalLinkage)) { return true; } |