Applying bugprone-narrowing-conversions clang-tidy fixes

This commit is contained in:
Bartek Kryza
2022-12-21 18:05:45 +01:00
parent 5d8f31dbe6
commit 14128374ef
5 changed files with 13 additions and 7 deletions

View File

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