File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1218,22 +1218,23 @@ populate(
12181218 I.AliasedSymbol = toNameInfo (Aliased, {}, NNS);
12191219}
12201220
1221-
12221221void
12231222ASTVisitor::
12241223populate (
12251224 UsingInfo& I,
12261225 UsingDecl const * D)
12271226{
12281227 I.Class = UsingClass::Normal;
1229- I.Qualifier = toNameInfo (D->getQualifier ());
1228+ DeclarationName const & Name = D->getNameInfo ().getName ();
1229+ NestedNameSpecifier const & NNS = D->getQualifier ();
1230+ I.IntroducedName = toNameInfo (Name, {}, NNS);
12301231 for (UsingShadowDecl const * UDS: D->shadows ())
12311232 {
12321233 ScopeExitRestore s (mode_, Dependency);
12331234 Decl* S = UDS->getTargetDecl ();
12341235 if (Info* SI = findOrTraverse (S))
12351236 {
1236- I.UsingSymbols .emplace_back (SI->id );
1237+ I.ShadowDeclarations .emplace_back (SI->id );
12371238 }
12381239 }
12391240}
You can’t perform that action at this time.
0 commit comments