[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
================
@@ -226,6 +226,11 @@ bool Parser::ParseOptionalCXXScopeSpecifier(
HasScopeSpecifier = true;
}
+ // If `FailedNestedNameBuilding` is true, attempt to suggest the standard
+ // include file corresponding to the current `FullNamespace` and symbol.
+ std::string FullNamespace = "";
+ bool FailedNesatedNameBuilding = false;
----------------
erichkeane wrote:
```suggestion
bool FailedNestedNameBuilding = false;
```
https://github.com/llvm/llvm-project/pull/146227
More information about the cfe-commits
mailing list