diff options
author | Timm Baeder <tbaeder@redhat.com> | 2025-04-08 05:48:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-08 05:48:55 +0200 |
commit | bdd087023f02fb377302595bf7f61e9cae8adb71 (patch) | |
tree | ea5ed75c5178f1b0ee7d94af2b1b75a231e6ae36 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 49d6e39eba88fdf7975c6f4dcb38595538331e6a (diff) | |
download | llvm-bdd087023f02fb377302595bf7f61e9cae8adb71.zip llvm-bdd087023f02fb377302595bf7f61e9cae8adb71.tar.gz llvm-bdd087023f02fb377302595bf7f61e9cae8adb71.tar.bz2 |
[clang][bytecode] Fix various issues with multidimensional arrays (#134628)
This issue is very convoluted, but in essence, in the new version:
For a Pointer P that points to the root of a multidimensional, primitive
array:
`P.narrow()` does nothing.
`P.atIndex(0)` points `P[0]`
`P.atIndex(0).atIndex(0)` is the same as `P.atIndex(0)` (as before)
`P.atIndex(0).narrow().atIndex(0)` points to `P[0][0]`
`P.atIndex(0).narrow().narrow()` is the same as `P.atIndex(0).narrow()`.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions