[all-commits] [llvm/llvm-project] f01e8a: [Clang] Fix handling of zero-length arrays in sfin...
Corentin Jabot via All-commits
all-commits at lists.llvm.org
Tue Dec 2 02:56:06 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f01e8ac0041da783608029825cb8931f0b9f5b9f
https://github.com/llvm/llvm-project/commit/f01e8ac0041da783608029825cb8931f0b9f5b9f
Author: Corentin Jabot <corentinjabot at gmail.com>
Date: 2025-12-02 (Tue, 02 Dec 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaType.cpp
M clang/test/SemaCXX/zero-length-arrays.cpp
Log Message:
-----------
[Clang] Fix handling of zero-length arrays in sfinae context. (#170144)
We were producing a diagnostic for zero-length arrays in Sfinae context,
without invalidating the overload.
This causes the diagnostic to be emitted
if and when that undiagnosed overload is selected.
Fixes #170040
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