diff options
author | Ziqing Luo <ziqing@udel.edu> | 2024-01-26 15:43:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 15:43:46 -0800 |
commit | 9816863dd439cd60c96d5764c4c21ca1a7f3d8da (patch) | |
tree | fd1e2e3bb16937142ead4fb0bb572d3627f3464f /lldb/packages/Python/lldbsuite/test/lldbgdbclient.py | |
parent | 80bfac4327b6fb94cb9bf44eeb0d032799b9d418 (diff) | |
download | llvm-9816863dd439cd60c96d5764c4c21ca1a7f3d8da.zip llvm-9816863dd439cd60c96d5764c4c21ca1a7f3d8da.tar.gz llvm-9816863dd439cd60c96d5764c4c21ca1a7f3d8da.tar.bz2 |
[-Wunsafe-buffer-usage] Add a new warning for uses of std::span two-parameter constructors (#77148)
Constructing `std::span` objects with the two parameter constructors
could introduce mismatched bounds information, which defeats the
purpose of using `std::span`. Therefore, we warn every use of such
constructors.
rdar://115817781
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbgdbclient.py')
0 files changed, 0 insertions, 0 deletions