[LLDB] Fix crash when printing a struct with a static wchar_t member
authorArthur Eubanks <aeubanks@google.com>
Fri, 7 Oct 2022 17:08:25 +0000 (10:08 -0700)
committerArthur Eubanks <aeubanks@google.com>
Tue, 11 Oct 2022 18:04:32 +0000 (11:04 -0700)
commiteab5c2f94f5aae17c3fc513ee347ee9bc1d2bcae
tree2de5f0c86ebedd1da12ffa77dbc7d60b3ea8bb3a
parent3d9f011a9c624b3128bc6b5e71ed456eb92e268c
[LLDB] Fix crash when printing a struct with a static wchar_t member

Similar to D135170.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D135461
clang/lib/AST/StmtPrinter.cpp
lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
lldb/test/API/lang/cpp/const_static_integral_member/main.cpp