Skip to content

Commit 2f07835

Browse files
committed
[CHERI] Fix fallthough warnings
1 parent 8581eb8 commit 2f07835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang-tools-extra/clang-tidy/cheri/CheriUtil.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ class Util {
620620
auto Crhs = Binop->getRHS()->getIntegerConstantExpr(*Ctx);
621621

622622
switch (Binop->getOpcode()) {
623-
case BO_And: {
624-
case BO_Rem:
623+
case BO_And:
624+
case BO_Rem: {
625625
/*
626626
* If either side of and "and" or "remainder" expression
627627
* is a positive constant this is ok.

0 commit comments

Comments
 (0)