summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-03-28 18:15:28 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-28 20:29:45 +0100
commitb3822741430bf8ebea23b7457d19db00756ed2db (patch)
tree6afe5d16ee98acc3e50b7207d84a8f8377d45d0f /compilerplugins
parenta039725510f13c77591106b02f32f5899c37c007 (diff)
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@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/test/unnecessaryparen.cxx2
-rw-r--r--compilerplugins/clang/test/unusedenumconstants.cxx2
2 files changed, 2 insertions, 2 deletions
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
{