diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-11-22 19:57:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-11-23 08:20:53 +0100 |
commit | f23aa1a51cb1beea4ebe3a61ba0c9b3abd844fd9 (patch) | |
tree | a7f6190e22719780c3102fca2ec5a368e29075bb /compilerplugins/clang/constfields.cxx | |
parent | tdf#114836, only set changed SfxItemSet properties (diff) | |
download | core-f23aa1a51cb1beea4ebe3a61ba0c9b3abd844fd9.tar.gz core-f23aa1a51cb1beea4ebe3a61ba0c9b3abd844fd9.zip |
Bump compiler plugins Clang baseline to 5.0.2
...as discussed at
<https://lists.freedesktop.org/archives/libreoffice/2018-November/081435.html>
"minutes of ESC call ..."
Change-Id: Ia053da171d59747984546f38e19da808825b4f79
Reviewed-on: https://gerrit.libreoffice.org/63832
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins/clang/constfields.cxx')
-rw-r--r-- | compilerplugins/clang/constfields.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compilerplugins/clang/constfields.cxx b/compilerplugins/clang/constfields.cxx index 6613c836b892..ce73e0d8e51f 100644 --- a/compilerplugins/clang/constfields.cxx +++ b/compilerplugins/clang/constfields.cxx @@ -393,10 +393,7 @@ void ConstFields::check(const FieldDecl* fieldDecl, const Expr* memberExpr) break; } else if (isa<CastExpr>(parent) || isa<MemberExpr>(parent) || isa<ParenExpr>(parent) - || isa<ParenListExpr>(parent) -#if CLANG_VERSION >= 40000 - || isa<ArrayInitLoopExpr>(parent) -#endif + || isa<ParenListExpr>(parent) || isa<ArrayInitLoopExpr>(parent) || isa<ExprWithCleanups>(parent)) { walkUp(); |