Skip to content

Commit

Permalink
LibWeb: Remove now-unnecessary clang-format off directive
Browse files Browse the repository at this point in the history
  • Loading branch information
trflynn89 committed Dec 28, 2024
1 parent 27478ec commit 4d6a9f9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Libraries/LibWeb/HTML/Parser/HTMLTokenizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,11 @@ namespace Web::HTML {
#define SWITCH_TO_AND_EMIT_CURRENT_CHARACTER(new_state) \
SWITCH_TO_AND_EMIT_CHARACTER(current_input_character.value(), new_state)

// clang-format-18 handles the `state:` label rather badly.
// clang-format off
#define BEGIN_STATE(state) \
state: \
case State::state: { \
{ \
{
// clang-format on

#define END_STATE \
VERIFY_NOT_REACHED(); \
Expand Down

0 comments on commit 4d6a9f9

Please sign in to comment.