diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp --- a/clang/lib/AST/StmtPrinter.cpp +++ b/clang/lib/AST/StmtPrinter.cpp @@ -1293,6 +1293,9 @@ break; // no suffix. case BuiltinType::UInt128: break; // no suffix. + case BuiltinType::WChar_S: + case BuiltinType::WChar_U: + break; // no suffix. } } diff --git a/lldb/test/API/lang/cpp/const_static_integral_member/main.cpp b/lldb/test/API/lang/cpp/const_static_integral_member/main.cpp --- a/lldb/test/API/lang/cpp/const_static_integral_member/main.cpp +++ b/lldb/test/API/lang/cpp/const_static_integral_member/main.cpp @@ -35,6 +35,7 @@ const static auto longlong_max = std::numeric_limits::max(); const static auto ulonglong_max = std::numeric_limits::max(); + const static auto wchar_max = std::numeric_limits::max(); const static auto char_min = std::numeric_limits::min(); const static auto uchar_min = std::numeric_limits::min(); @@ -45,6 +46,7 @@ const static auto longlong_min = std::numeric_limits::min(); const static auto ulonglong_min = std::numeric_limits::min(); + const static auto wchar_min = std::numeric_limits::min(); const static Enum enum_val = enum_case2; const static ScopedEnum scoped_enum_val = ScopedEnum::scoped_enum_case2;