diff options
author | Malavika Samak <malavika.samak@gmail.com> | 2024-11-13 13:08:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-13 13:08:52 -0800 |
commit | 0dcb0acf8265e1486f4f3715cef01987af1391cd (patch) | |
tree | a2fc52e480c6087ace2cc0032e80c31fc5a30143 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp | |
parent | 98c4f4fce84bb7b0943be92d06765ed4dff28710 (diff) | |
download | llvm-0dcb0acf8265e1486f4f3715cef01987af1391cd.zip llvm-0dcb0acf8265e1486f4f3715cef01987af1391cd.tar.gz llvm-0dcb0acf8265e1486f4f3715cef01987af1391cd.tar.bz2 |
[-Wunsafe-buffer-usage] Fix false positives in warning againt 2-parameter std::span constructor (#115797)
Do not warn when two parameter constructor receives pointer address from
a std::addressof method and the span size is set to 1.
(rdar://139298119)
Co-authored-by: MalavikaSamak <malavika2@apple.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions