================
@@ -454,6 +459,9 @@ bool Parser::ParseOptionalCXXScopeSpecifier(
       // We have an identifier followed by a '::'. Lookup this name
       // as the name in a nested-name-specifier.
       Token Identifier = Tok;
+      FullNamespace += Identifier.getIdentifierInfo()->getName();
+      FullNamespace += "::";
----------------
erichkeane wrote:

As this is extra work, just make it a part of the printing, not here.  Better 
yet, instead of storing `FullNameSpace`, just store the IdentifierInfo list.

https://github.com/llvm/llvm-project/pull/146227
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to