forked from qt-creator/qt-creator
Skip qualified and template name ids.
This commit is contained in:
@@ -382,6 +382,9 @@ FullySpecifiedType UseQualifiedNames::apply(const Name *name, Rewrite *rewrite)
|
|||||||
SubstitutionEnvironment *env = rewrite->env;
|
SubstitutionEnvironment *env = rewrite->env;
|
||||||
Scope *scope = env->scope();
|
Scope *scope = env->scope();
|
||||||
|
|
||||||
|
if (name->isQualifiedNameId() || name->isTemplateNameId())
|
||||||
|
return FullySpecifiedType();
|
||||||
|
|
||||||
if (! scope)
|
if (! scope)
|
||||||
return FullySpecifiedType();
|
return FullySpecifiedType();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user