Applied hicpp-uppercase-literal-suffix clang-tidy fixes

This commit is contained in:
Bartek Kryza
2022-12-22 17:12:37 +01:00
parent 5271279175
commit ebf87d2161
4 changed files with 16 additions and 16 deletions

View File

@@ -246,7 +246,7 @@ bool is_subexpr_of(const clang::Stmt *parent_stmt, const clang::Stmt *sub_stmt)
template <> id_t to_id(const std::string &full_name)
{
return static_cast<id_t>(std::hash<std::string>{}(full_name) >> 3u);
return static_cast<id_t>(std::hash<std::string>{}(full_name) >> 3U);
}
template <> id_t to_id(const clang::NamespaceDecl &declaration)

View File

@@ -94,7 +94,7 @@ void clang_visitor::visit(
traits.getCommandInfo(command->getCommandID());
if (command_info->IsBlockCommand &&
command_info->NumArgs == 0u) {
command_info->NumArgs == 0U) {
// Visit block command with a single text argument, e.g.:
// \brief text
// \todo text