srctree

Robin Linden parent 8b2aea36 ab80e4d0
all: Fix clang-tidy's bugprone-switch-missing-default-case warnings

inlinesplit
css/parser.cpp added: 7, removed: 5, total 2
@@ -615,6 +615,8 @@ void Parser::expand_border_radius_values(std::map<PropertyId, std::string> &decl
bottom_left += fmt::format(" / {}", tokenizer.next().get().value());
break;
}
default:
break;
}
}
// NOLINTEND(bugprone-unchecked-optional-access)
 
html2/tokenizer.cpp added: 7, removed: 5, total 2
@@ -1267,10 +1267,10 @@ void Tokenizer::run() {
emit(ParseError::UnexpectedNullCharacter);
std::get<CommentToken>(current_token_).data += kReplacementCharacter;
continue;
default:
std::get<CommentToken>(current_token_).data += *c;
continue;
}
 
std::get<CommentToken>(current_token_).data += *c;
continue;
}
 
// https://html.spec.whatwg.org/multipage/parsing.html#markup-declaration-open-state