Files
clang-p2996/clang/test/SemaCXX/warn-unsafe-buffer-usage-warning-data-invocation.cpp
Ziqing Luo 9816863dd4 [-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
2024-01-26 15:43:46 -08:00

3.4 KiB