[PATCH] D135170: [LLDB] Fix crash when printing a struct with a static signed char member
David Spickett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 6 02:20:11 PDT 2022
DavidSpickett added inline comments.
================
Comment at: lldb/test/API/lang/cpp/const_static_integral_member/main.cpp:39
const static auto char_min = std::numeric_limits<char>::min();
const static auto uchar_min = std::numeric_limits<unsigned char>::min();
----------------
shafik wrote:
> We use `signed char` for the max case but `char` for the min case. Maybe we need a max using `char` and a min using `signed char`.
I'll look into this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135170/new/
https://reviews.llvm.org/D135170
More information about the cfe-commits
mailing list