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:
@@ -138,7 +138,7 @@ private:
|
||||
|
||||
bool handleNonExternalLinkage(FunctionDecl const * decl) {
|
||||
if (decl->getLinkageInternal() >=
|
||||
#if CLANG_VERSION >= 40000
|
||||
#if CLANG_VERSION >= 50000
|
||||
ModuleLinkage
|
||||
#else
|
||||
ExternalLinkage
|
||||
|
Reference in New Issue
Block a user