[clang] [clang][Sema] Suggest/Hint Standard Library Include File (PR #146227)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 1 06:22:00 PDT 2025


================
@@ -465,6 +473,7 @@ bool Parser::ParseOptionalCXXScopeSpecifier(
       if (Actions.ActOnCXXNestedNameSpecifier(
               getCurScope(), IdInfo, EnteringContext, SS, CorrectionFlagPtr,
               OnlyNamespace)) {
+        FailedNesatedNameBuilding = true;
----------------
erichkeane wrote:

I think we ONLY are going to want to suggest things of the pattern `NS::TypeName`.  So ensuring we have hte 'full name' isn't really necessary.  I think we can just store the namespace and identifier.

https://github.com/llvm/llvm-project/pull/146227


More information about the cfe-commits mailing list