diff options
author | Ziqing Luo <ziqing@udel.edu> | 2023-02-23 14:53:43 -0800 |
---|---|---|
committer | Ziqing Luo <ziqing@udel.edu> | 2023-02-23 15:02:46 -0800 |
commit | cd2652963b6b97c01329419f15c336e5560afa98 (patch) | |
tree | 04f00e08898e0f7fb1ae948432c2229055d6ece9 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | c8b37e48f6f00bb2aa3882ca3cc26082f85ca999 (diff) | |
download | llvm-cd2652963b6b97c01329419f15c336e5560afa98.zip llvm-cd2652963b6b97c01329419f15c336e5560afa98.tar.gz llvm-cd2652963b6b97c01329419f15c336e5560afa98.tar.bz2 |
[-Wunsafe-buffer-usage] Fixits for assignments to array subscript expressions
Let generate fix-its to make assignments' left-hand side of the form
`dre[e]` safe if `e` is known to be non-negative.
Commit on behalf of jkorous (Jan Korous)
Reviewed by: NoQ (Artem Dergachev)
Differential revision: https://reviews.llvm.org/D142794
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions