Kaydet (Commit) 53a9e834 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

...and Clang 4 will have it, too

Change-Id: Ia927ed7d1e7815e59ccb67246da6981c65683168
üst 845d4eb7
......@@ -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()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment