Cleanup nested name specifiers

This commit is contained in:
Roberto Raggi
2009-11-10 15:12:04 +01:00
parent b47eee8869
commit 380bce4527
12 changed files with 52 additions and 55 deletions

View File

@@ -308,8 +308,8 @@ protected:
virtual bool visit(QualifiedNameAST *ast)
{
for (NestedNameSpecifierAST *it = ast->nested_name_specifier; it; it = it->next)
searchUsesInTemplateArguments(it->class_or_namespace_name);
for (NestedNameSpecifierListAST *it = ast->nested_name_specifier; it; it = it->next)
searchUsesInTemplateArguments(it->value->class_or_namespace_name);
searchUsesInTemplateArguments(ast->unqualified_name);
return false;