Linkage::ModuleLinkage was only introduced in Clang 5

Change-Id: Ib27908cba00ca120b3bd2ea1dc291c29120a27a4
Reviewed-on: https://gerrit.libreoffice.org/63705
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2018-11-21 12:03:15 +01:00
parent 67dd7c6c9d
commit 7fb708ed9f
2 changed files with 2 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ private:
bool handleNonExternalLinkage(FunctionDecl const * decl) {
if (decl->getLinkageInternal() >=
#if CLANG_VERSION >= 40000
#if CLANG_VERSION >= 50000
ModuleLinkage
#else
ExternalLinkage