Fixed clang-tidy warnings

This commit is contained in:
Bartek Kryza
2023-05-27 23:41:16 +02:00
parent e6fa19ff39
commit 5c4a98ba79
5 changed files with 59 additions and 57 deletions

View File

@@ -1308,7 +1308,7 @@ void translation_unit_visitor::process_method(
.getUnqualifiedType()
->getAs<clang::TemplateSpecializationType>();
templ != nullptr) {
auto *unaliased_type = templ;
const auto *unaliased_type = templ;
if (unaliased_type->isTypeAlias())
unaliased_type = unaliased_type->getAliasedType()
->getAs<clang::TemplateSpecializationType>();