diff options
author | Timm Baeder <tbaeder@redhat.com> | 2024-03-18 14:56:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 14:56:16 +0100 |
commit | 4294841ebcbb22076a24267cdf5164c7aeed9941 (patch) | |
tree | 5654b329bb9565af1ff83fe9e7ece1438043e464 /llvm/lib/IR | |
parent | 1d9fb2ee612f0ccf588d40dc4b5445cffd36e8af (diff) | |
download | llvm-4294841ebcbb22076a24267cdf5164c7aeed9941.zip llvm-4294841ebcbb22076a24267cdf5164c7aeed9941.tar.gz llvm-4294841ebcbb22076a24267cdf5164c7aeed9941.tar.bz2 |
[clang][ExprConst] Can't be past an invalid LValue designator (#84293)
For the test case in C, both `LV.getLValueOffset()` and
`Ctx.getTypeSizeInChars(Ty)` are zero, so we return `true` from
`isOnePastTheEndOfCompleteObject()` and ultimately diagnose this as
being one past the end, but the diagnostic doesn't make sense.
Diffstat (limited to 'llvm/lib/IR')
0 files changed, 0 insertions, 0 deletions