diff options
author | OCHyams <orlando.hyams@sony.com> | 2023-02-10 12:33:16 +0000 |
---|---|---|
committer | OCHyams <orlando.hyams@sony.com> | 2023-02-10 13:49:05 +0000 |
commit | 25d0f3c4d0d9f01755b008b5af92448ba593adf9 (patch) | |
tree | 7db16a85b077562a80fae527998c00c186998d9a /clang/lib/Frontend/Rewrite/HTMLPrint.cpp | |
parent | 4d7c879d33a22a125923449150e493df3dc9fd05 (diff) | |
download | llvm-25d0f3c4d0d9f01755b008b5af92448ba593adf9.zip llvm-25d0f3c4d0d9f01755b008b5af92448ba593adf9.tar.gz llvm-25d0f3c4d0d9f01755b008b5af92448ba593adf9.tar.bz2 |
[Assignment Tracking] Fix fragment index error in getDerefOffsetInBytes
Without this patch `getDerefOffsetInBytes` incorrectly always returns
`std::nullopt` for expressions with fragments due to an off-by-one error with
fragment element indices.
Reviewed By: StephenTozer
Differential Revision: https://reviews.llvm.org/D143567
Diffstat (limited to 'clang/lib/Frontend/Rewrite/HTMLPrint.cpp')
0 files changed, 0 insertions, 0 deletions