Commit f8555f42 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Skip qualified and template name ids.

parent f895cbb4
......@@ -382,6 +382,9 @@ FullySpecifiedType UseQualifiedNames::apply(const Name *name, Rewrite *rewrite)
SubstitutionEnvironment *env = rewrite->env;
Scope *scope = env->scope();
if (name->isQualifiedNameId() || name->isTemplateNameId())
return FullySpecifiedType();
if (! scope)
return FullySpecifiedType();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment