diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-03-01 20:09:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-03-02 07:51:34 +0100 |
commit | 4ba1088d68fc7c0c76e13f29faff5a3f54342534 (patch) | |
tree | 7f6dd0aafa2ed54178f5f88ce27faee61d95382a /compilerplugins/clang/logexceptionnicely.cxx | |
parent | 0cf5d0fa5e1a7d5dafa7e899e065edb042764f44 (diff) |
Adapt compilerplugins to Clang trunk change
<https://github.com/llvm/llvm-project/commit/
93184a8eda272c65308906836b47cbf209de779e> "Remove unused parameter from
CXXRecordDecl::forallBases [NFC]"
Change-Id: I8efdda2a37fd0df3b964401e8851a0f95f8d0ab4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89781
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins/clang/logexceptionnicely.cxx')
-rw-r--r-- | compilerplugins/clang/logexceptionnicely.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compilerplugins/clang/logexceptionnicely.cxx b/compilerplugins/clang/logexceptionnicely.cxx index 86f6406a7c3b..a262d276b88c 100644 --- a/compilerplugins/clang/logexceptionnicely.cxx +++ b/compilerplugins/clang/logexceptionnicely.cxx @@ -88,8 +88,7 @@ public: return true; if ( // not sure what hasAnyDependentBases() does, // but it avoids classes we don't want, e.g. WeakAggComponentImplHelper1 - !decl->hasAnyDependentBases() - && !decl->forallBases(BaseCheckNotExceptionSubclass, true)) + !decl->hasAnyDependentBases() && !decl->forallBases(BaseCheckNotExceptionSubclass)) { return true; } |