aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorZiqing Luo <ziqing@udel.edu>2025-06-25 10:32:03 +0900
committerGitHub <noreply@github.com>2025-06-25 09:32:03 +0800
commit3140333872f6e54693397882dead2c1387c91189 (patch)
tree0aa5629323e01a6d7dd24da0557270e69521ab8c /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parente6d6bb52980e8b2deef51499ba7b39261f0a7c5b (diff)
downloadllvm-3140333872f6e54693397882dead2c1387c91189.zip
llvm-3140333872f6e54693397882dead2c1387c91189.tar.gz
llvm-3140333872f6e54693397882dead2c1387c91189.tar.bz2
[-Wunsafe-buffer-usage] Support span creation from std::initializer_list and begin/end pairs (#145311)
Support safe construction of `std::span` from `begin` and `end` calls on hardened containers or views or `std::initializer_list`s. For example, the following code is safe: ``` void create(std::initializer_list<int> il) { std::span<int> input{ il.begin(), il.end() }; // no warn } ``` rdar://152637380
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions