[all-commits] [llvm/llvm-project] 37bd78: [Clang][Sema] Fix templated array size calculation...
awson via All-commits
all-commits at lists.llvm.org
Mon Oct 14 22:52:23 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 37bd788138e1f18d5e327de28a6940da57cdcde8
https://github.com/llvm/llvm-project/commit/37bd788138e1f18d5e327de28a6940da57cdcde8
Author: awson <kyrab at mail.ru>
Date: 2024-10-15 (Tue, 15 Oct 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExprCXX.cpp
A clang/test/SemaCXX/GH41441.cpp
Log Message:
-----------
[Clang][Sema] Fix templated array size calculation. (#96464)
The [last attempt](https://github.com/llvm/llvm-project/pull/89036) to
fix https://github.com/llvm/llvm-project/issues/41441 has been reverted
immediately.
Here I'm trying the simplest idea I've been able to come with: skip
handling dependent case in `BuildCXXNew`.
The original test (borrowed form
https://github.com/llvm/llvm-project/pull/89036) passes.
Also I've created and added to the tests a minimal repro of the code
https://github.com/llvm/llvm-project/pull/89036 fails on. This
(obviously) also passes.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list