Bound check on array of zero-sized element isn't meaningful.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D157584
[clang][Sema] Skip access check on arrays of zero-length element ClosedPublic Authored by danix800 on Aug 9 2023, 11:39 PM.
Details Summary Bound check on array of zero-sized element isn't meaningful.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 10 2023, 7:13 PM Closed by commit rG0f73a2406a16: [clang][Sema] Skip access check on arrays of zero-length element (authored by dingfei <fding@feysh.com>). · Explain WhyAug 11 2023, 7:07 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 549381 clang/docs/ReleaseNotes.rst
clang/lib/Sema/SemaChecking.cpp
clang/test/Sema/array-bounds-zero-length-elem-gh64564.c
|