aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorTimm Baeder <tbaeder@redhat.com>2024-03-18 14:56:16 +0100
committerGitHub <noreply@github.com>2024-03-18 14:56:16 +0100
commit4294841ebcbb22076a24267cdf5164c7aeed9941 (patch)
tree5654b329bb9565af1ff83fe9e7ece1438043e464 /llvm/lib/IR
parent1d9fb2ee612f0ccf588d40dc4b5445cffd36e8af (diff)
downloadllvm-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