GSL/include/gsl
Dmitry Kobets 2940006b5c
Suppress some noisy / buggy warnings (#1136)
Two warnings were being emitted in the MSVC+LLVM tests. 

The warning `-Wunsafe-buffer-usage` is initially introduced in some capacity here https://reviews.llvm.org/D137346 pointing to documentation at https://discourse.llvm.org/t/rfc-c-buffer-hardening/65734. The warning is a stylistic checker whose goal is to "emit a warning every time an unsafe operation is performed on a raw pointer". This type of programming model is not useful for library implementations of types such as `span`, where direct manipulation of raw pointers is inevitable, so disable the warning altogether.

There is also a false-positive warning https://github.com/llvm/llvm-project/issues/65689 that I've disabled inline.
2023-09-11 10:06:40 -07:00
..
algorithm quoted form of #include when GSL includes GSL files (#1030) 2022-01-31 13:06:42 -08:00
assert Remove unused macros (#1128) 2023-07-26 15:07:28 -07:00
byte simplify to_byte (#1090) 2023-02-14 14:10:56 -08:00
gsl Deprecate <gsl/string_span> and replace with <gsl/zstring> (#1125) 2023-06-28 10:48:23 -07:00
narrow Document potentially confusing behavior in gsl::narrow (#1073) 2022-12-24 11:49:26 -08:00
pointers get back gcc 8.4 compatibility (#1127) 2023-07-06 12:51:48 -07:00
span Suppress some noisy / buggy warnings (#1136) 2023-09-11 10:06:40 -07:00
span_ext Deprecate the Ptr make_span overloads (#1113) 2023-05-22 10:48:41 -07:00
string_span Deprecate <gsl/string_span> and replace with <gsl/zstring> (#1125) 2023-06-28 10:48:23 -07:00
util Fix max macro collision (#1081) 2023-01-19 13:17:39 -08:00
zstring Deprecate <gsl/string_span> and replace with <gsl/zstring> (#1125) 2023-06-28 10:48:23 -07:00