onnxruntime
2cf5d04e - Fix clang-tidy(cppcoreguidelines-pro-bounds-array-to-pointer-decay) (#13241)

Commit
3 years ago
Fix clang-tidy(cppcoreguidelines-pro-bounds-array-to-pointer-decay) (#13241) clang-tidy says "Do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead" It is a false positive scattering around all our codebase when using helper macros. It is becuase for function with 4 char name, say `main`, the type of __FUNCTION__ and __PRETTY_FUNCTION__ is `char [5]`.
Author
Parents
Loading