diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-27 11:57:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-27 11:58:18 +0100 |
commit | 53a9e834f082864486441efd68fc8ff29d33fc95 (patch) | |
tree | 06714905fd8e6d0a8dc3df51193f23b345f623f8 /compilerplugins/clang/dynexcspec.cxx | |
parent | 845d4eb7bc20a6eadf08b0fe0939c51c3cbf3a62 (diff) |
...and Clang 4 will have it, too
Change-Id: Ia927ed7d1e7815e59ccb67246da6981c65683168
Diffstat (limited to 'compilerplugins/clang/dynexcspec.cxx')
-rw-r--r-- | compilerplugins/clang/dynexcspec.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/dynexcspec.cxx b/compilerplugins/clang/dynexcspec.cxx index 6c7ff52cff7d..ee746461c06a 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()) { |