shadowVariable: Add comment

This commit is contained in:
Daniel Marjamäki 2019-10-19 18:51:36 +02:00
parent 24db81adb5
commit 574141a492
1 changed files with 1 additions and 1 deletions

View File

@ -2921,7 +2921,7 @@ void CheckOther::checkShadowVariables()
while (functionScope && functionScope->type != Scope::ScopeType::eFunction && functionScope->type != Scope::ScopeType::eLambda)
functionScope = functionScope->nestedIn;
for (const Variable &var : scope.varlist) {
if (var.nameToken() && var.nameToken()->isExpandedMacro())
if (var.nameToken() && var.nameToken()->isExpandedMacro()) // #8903
continue;
if (functionScope && functionScope->type == Scope::ScopeType::eFunction && functionScope->function) {