Merge pull request #25939 from kssenii/fix-special-build-check

Fix clang tidy build check
This commit is contained in:
Kseniia Sumarokova 2021-07-03 15:14:16 +03:00 committed by GitHub
commit b639a30dfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ namespace
if (!func.arguments || (func.arguments->children.size() <= argument_pos))
return;
auto arg = func.arguments->children[argument_pos];
auto identifier = arg->as<ASTIdentifier>();
auto * identifier = arg->as<ASTIdentifier>();
if (!identifier)
return;
if (aliases.contains(identifier->name()))