aboutsummaryrefslogtreecommitdiff
path: root/clang/docs
diff options
context:
space:
mode:
authorMariya Podchishchaeva <mariya.podchishchaeva@intel.com>2024-06-20 11:03:27 +0300
committerGitHub <noreply@github.com>2024-06-20 10:03:27 +0200
commitb9ad0b6875950a0e161ad31447f796562f55a83a (patch)
treee02694d64c981abc075771645a6f22764677b8c9 /clang/docs
parent7cf84d3b0bc5eda3a907dfd026d51a17e28114a3 (diff)
downloadllvm-b9ad0b6875950a0e161ad31447f796562f55a83a.zip
llvm-b9ad0b6875950a0e161ad31447f796562f55a83a.tar.gz
llvm-b9ad0b6875950a0e161ad31447f796562f55a83a.tar.bz2
[clang] Fix `static_cast` to array of unknown bound (#96041)
Per P1975R0 an expression like static_cast<U[]>(...) defines the type of the expression as U[1]. Fixes https://github.com/llvm/llvm-project/issues/62863
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/ReleaseNotes.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 7112d1f..d0e5e67 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -695,6 +695,8 @@ Bug Fixes in This Version
- Correctly reject declarations where a statement is required in C.
Fixes #GH92775
+- Fixed `static_cast` to array of unknown bound. Fixes (#GH62863).
+
Bug Fixes to Compiler Builtins
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^