[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:21:59 PDT 2025
================
@@ -478,6 +478,7 @@ Improvements to Clang's diagnostics
diagnostics. This fixes a bunch of `bool` being printed as `_Bool`, and also
a bunch of HLSL types being printed as their C++ equivalents.
- Clang now consistently quotes expressions in diagnostics.
+- Clang now suggest standard library include path and its associated C++ or C language version.
----------------
erichkeane wrote:
```suggestion
- Clang now suggests including standard library headers when encountering standard types.
```
https://github.com/llvm/llvm-project/pull/146227
More information about the cfe-commits
mailing list