diff options
| author | Malavika Samak <malavika.samak@gmail.com> | 2025-01-14 08:15:15 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-14 08:15:15 +0530 |
| commit | 64c2156d8802b0d7724f65ce854844670e4ec457 (patch) | |
| tree | 2b75f6892dfc5d0d97cc521d38684984d01defb9 /lldb/test/API/functionalities/plugins/python_os_plugin | |
| parent | 7c51c310ad9a50e721e5f17f2f27f066a0d77b80 (diff) | |
[Wunsafe-buffer-usage] Fix false positive when const sized array is indexed by const evaluatable expressions (#119340)
Do not warn when constant sized array is indexed by expressions that
evaluate to a const value. For instance, sizeof(T) expression value can
be evaluated at compile time and if an array is indexed by such an
expression, it's bounds can be validated.
(rdar://140320289)
Co-authored-by: MalavikaSamak <malavika2@apple.com>
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin')
0 files changed, 0 insertions, 0 deletions
