diff options
| author | Congcong Cai <congcongcai0907@163.com> | 2024-09-18 08:03:06 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-18 08:03:06 +0800 |
| commit | 785624b28237bb75d4fa3b8e4219a5448b90eaac (patch) | |
| tree | 5b408561e50492ab4aaf0e519feed86958f1b58c /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | ca0613e0fcef2a9972f2802318201f8272e74693 (diff) | |
[clang-tidy]suggest use `std::span` as replacement of c array in C++20 for modernize-avoid-c-arrays (#108555)
The incompleted C-Array in parameter does not own memory. Instead, It is
equivalent to pointer.
So we should not use `std::array` as recommended modern C++ replacement,
but use `std::vector` and `std::span` in C++20
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
