================ @@ -554,6 +563,11 @@ bool Parser::ParseOptionalCXXScopeSpecifier( break; } + if (FailedNesatedNameBuilding && Tok.getKind() == tok::identifier) { ---------------- erichkeane wrote:
Parser isn't really the right place to do this. This is very much a 'sema' diagnostic/suggestion. This should happen not here, but on failed lookup. 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