diff options
-rw-r--r-- | compilerplugins/clang/external.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/redundantinline.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/external.cxx b/compilerplugins/clang/external.cxx index d30b8cba3c5f..f0abf52fd52c 100644 --- a/compilerplugins/clang/external.cxx +++ b/compilerplugins/clang/external.cxx @@ -252,7 +252,7 @@ private: return true; } if (decl->getLinkageInternal() < -#if CLANG_VERSION >= 40000 +#if CLANG_VERSION >= 50000 ModuleLinkage #else ExternalLinkage diff --git a/compilerplugins/clang/redundantinline.cxx b/compilerplugins/clang/redundantinline.cxx index 30f970caf9d2..1c3ea454a955 100644 --- a/compilerplugins/clang/redundantinline.cxx +++ b/compilerplugins/clang/redundantinline.cxx @@ -138,7 +138,7 @@ private: bool handleNonExternalLinkage(FunctionDecl const * decl) { if (decl->getLinkageInternal() >= -#if CLANG_VERSION >= 40000 +#if CLANG_VERSION >= 50000 ModuleLinkage #else ExternalLinkage |