diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-11-17 10:02:06 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-11-17 12:48:36 +0100 |
commit | eb515f11caae5d1b30f7c306fc32111a0cf617b2 (patch) | |
tree | d6d3c85475bffb31d0fdd41b5857536c005445da /solenv | |
parent | bfe589d13fafc0801d709a79144114d289958cae (diff) |
retire loplugin:simplifybool
The plugin was originally written to rewrite dumb old OOo code
like 'variable != 1 ? true : false'. All that code has already
been rewritten, and now this plugin just enforces matter-of-taste
stylistics on new code.
Change-Id: I8cd2accd7c0ac365b75dcba51a9049bf9e293869
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125346
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/CompilerTest_compilerplugins_clang.mk | 1 | ||||
-rw-r--r-- | solenv/clang-format/excludelist | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/solenv/CompilerTest_compilerplugins_clang.mk b/solenv/CompilerTest_compilerplugins_clang.mk index 75afd793843e..93ebf8468228 100644 --- a/solenv/CompilerTest_compilerplugins_clang.mk +++ b/solenv/CompilerTest_compilerplugins_clang.mk @@ -76,7 +76,6 @@ $(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \ compilerplugins/clang/test/selfinit \ compilerplugins/clang/test/sequentialassign \ compilerplugins/clang/test/shouldreturnbool \ - compilerplugins/clang/test/simplifybool \ compilerplugins/clang/test/simplifyconstruct \ compilerplugins/clang/test/simplifydynamiccast \ compilerplugins/clang/test/simplifypointertobool \ diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist index 1fd086ffb285..456d168f500d 100644 --- a/solenv/clang-format/excludelist +++ b/solenv/clang-format/excludelist @@ -1524,7 +1524,6 @@ compilerplugins/clang/sfxpoolitem.cxx compilerplugins/clang/sharedvisitor/analyzer.cxx compilerplugins/clang/sharedvisitor/dummyplugin.hxx compilerplugins/clang/sharedvisitor/generator.cxx -compilerplugins/clang/simplifybool.cxx compilerplugins/clang/singlevalfields.cxx compilerplugins/clang/staticaccess.cxx compilerplugins/clang/staticmethods.cxx @@ -1557,6 +1556,7 @@ compilerplugins/clang/store/returnunique.cxx compilerplugins/clang/store/revisibility.cxx compilerplugins/clang/store/rtlconstasciimacro.cxx compilerplugins/clang/store/sfxitemsetrewrite.cxx +compilerplugins/clang/store/simplifybool.cxx compilerplugins/clang/store/stdexception.cxx compilerplugins/clang/store/stylepolice.cxx compilerplugins/clang/store/svstreamoutputoperators.cxx |