Skip to content

Commit

Permalink
Remove break/continue
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisrichardson committed Aug 14, 2023
1 parent 4618c33 commit d0014fb
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions ffcx/codegeneration/C/cnodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1115,34 +1115,6 @@ def flops(self):
# Simple statements


class Break(CStatement):
__slots__ = ()
is_scoped = True

def cs_format(self, precision=None):
return "break;"

def __eq__(self, other):
return isinstance(other, type(self))

def flops(self):
return 0


class Continue(CStatement):
__slots__ = ()
is_scoped = True

def cs_format(self, precision=None):
return "continue;"

def __eq__(self, other):
return isinstance(other, type(self))

def flops(self):
return 0


class Return(CStatement):
__slots__ = ("value",)
is_scoped = True
Expand Down

0 comments on commit d0014fb

Please sign in to comment.