[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann
sbergman at redhat.com
Fri Jan 27 10:59:00 UTC 2017
compilerplugins/clang/dynexcspec.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 53a9e834f082864486441efd68fc8ff29d33fc95
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 27 11:57:51 2017 +0100
...and Clang 4 will have it, too
Change-Id: Ia927ed7d1e7815e59ccb67246da6981c65683168
diff --git a/compilerplugins/clang/dynexcspec.cxx b/compilerplugins/clang/dynexcspec.cxx
index 6c7ff52..ee74646 100644
--- a/compilerplugins/clang/dynexcspec.cxx
+++ b/compilerplugins/clang/dynexcspec.cxx
@@ -77,7 +77,7 @@ public:
}
bool dtor = isa<CXXDestructorDecl>(decl);
SourceRange source;
-#if CLANG_VERSION >= 50000
+#if CLANG_VERSION >= 40000
source = decl->getExceptionSpecSourceRange();
#endif
if (rewriter != nullptr && source.isValid()) {
More information about the Libreoffice-commits
mailing list