summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/test
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/test')
-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
{