[clang] [clang-tools-extra] [clang] fix diagnostic printing of expressions ignoring LangOpts (PR #134693)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 7 10:10:07 PDT 2025
================
@@ -280,6 +280,9 @@ Improvements to Clang's diagnostics
- Clang now better preserves the sugared types of pointers to member.
- Clang now better preserves the presence of the template keyword with dependent
prefixes.
+- Clang now respects the current language mode when printing expressions in
+ diagnsotics. This fixes a bunch of `bool` being printed as `_Bool`, and also
----------------
erichkeane wrote:
```suggestion
diagnostics. This fixes a bunch of `bool` being printed as `_Bool`, and also
```
https://github.com/llvm/llvm-project/pull/134693
More information about the cfe-commits
mailing list