Fixed clang-tidy warnings

This commit is contained in:
Bartek Kryza
2024-05-03 16:48:39 +02:00
parent 95d83345a5
commit ba4835b6bc
4 changed files with 14 additions and 18 deletions

View File

@@ -1601,8 +1601,8 @@ bool translation_unit_visitor::process_unresolved_lookup_call_expression(
break;
}
else if (clang::dyn_cast_or_null<clang::FunctionDecl>(decl) !=
nullptr) {
if (clang::dyn_cast_or_null<clang::FunctionDecl>(decl) != nullptr) {
const auto *fd =
clang::dyn_cast_or_null<clang::FunctionDecl>(decl);
@@ -1615,9 +1615,8 @@ bool translation_unit_visitor::process_unresolved_lookup_call_expression(
break;
}
else {
LOG_DBG("Unknown unresolved lookup expression");
}
LOG_DBG("Unknown unresolved lookup expression");
}
}