[clang] [Clang] Improve diagnostics for 'placement new' with const storage argument (PR #144270)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 11 05:37:38 PDT 2025
================
@@ -690,6 +690,9 @@ Improvements to Clang's diagnostics
- Clang now tries to avoid printing file paths that contain ``..``, instead preferring
the canonical file path if it ends up being shorter.
+- Improve the diagnostics for placement new expression when const-qualified
+ object was passed as the storage argument.
----------------
cor3ntin wrote:
```suggestion
object was passed as the storage argument. (#GH143708)
```
https://github.com/llvm/llvm-project/pull/144270
More information about the cfe-commits
mailing list