[Libreoffice-commits] core.git: compilerplugins/clang

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sat Mar 28 19:30:18 UTC 2020


 compilerplugins/clang/test/unnecessaryparen.cxx    |    2 +-
 compilerplugins/clang/test/unusedenumconstants.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b3822741430bf8ebea23b7457d19db00756ed2db
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat Mar 28 18:15:28 2020 +0100
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Mar 28 20:29:45 2020 +0100

    Fix is_typed_flags for BrowseMode (compilerplugins)
    
    Change-Id: Ia6fecc08b2ee66b3e831f2c6289575ca98976783
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91281
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/compilerplugins/clang/test/unnecessaryparen.cxx b/compilerplugins/clang/test/unnecessaryparen.cxx
index c33876ddae61..f932cd312558 100644
--- a/compilerplugins/clang/test/unnecessaryparen.cxx
+++ b/compilerplugins/clang/test/unnecessaryparen.cxx
@@ -25,7 +25,7 @@ enum class BrowseMode
     Modules = 0x01,
     Top = 0x02,
     Bottom = 0x04,
-    Left = 0x04,
+    Left = 0x08,
 };
 namespace o3tl
 {
diff --git a/compilerplugins/clang/test/unusedenumconstants.cxx b/compilerplugins/clang/test/unusedenumconstants.cxx
index 9f16c981acde..189a037670b8 100644
--- a/compilerplugins/clang/test/unusedenumconstants.cxx
+++ b/compilerplugins/clang/test/unusedenumconstants.cxx
@@ -28,7 +28,7 @@ enum class BrowseMode
     Modules = 0x01, // expected-error {{read Modules [loplugin:unusedenumconstants]}}
     Top = 0x02, // expected-error {{write Top [loplugin:unusedenumconstants]}}
     Bottom = 0x04, // expected-error {{read Bottom [loplugin:unusedenumconstants]}}
-    Left = 0x04, // expected-error {{write Left [loplugin:unusedenumconstants]}}
+    Left = 0x08, // expected-error {{write Left [loplugin:unusedenumconstants]}}
 };
 namespace o3tl
 {


More information about the Libreoffice-commits mailing list