[lldb/Formatters] Remove space from vector type string summaries (NFCI)

This patch changes the string summaries for vector types by removing the
space between the type and the bracket, conforming to 277623f4d5.

This should also fix TestCompactVectors failure.

Differential Revision: https://reviews.llvm.org/D112340

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
This commit is contained in:
Med Ismail Bennani 2021-10-22 19:18:11 +00:00
parent 3f34f75a68
commit 42e4959253
1 changed files with 3 additions and 6 deletions

View File

@ -773,14 +773,11 @@ void FormatManager::LoadVectorFormatters() {
AddStringSummary(vectors_category_sp, "${var.uint128}",
ConstString("builtin_type_vec128"), vector_flags);
// FIXME: These probably need the space removed, or made optional - but are
// they even tested?
AddStringSummary(vectors_category_sp, "", ConstString("float [4]"),
AddStringSummary(vectors_category_sp, "", ConstString("float[4]"),
vector_flags);
AddStringSummary(vectors_category_sp, "", ConstString("int32_t [4]"),
AddStringSummary(vectors_category_sp, "", ConstString("int32_t[4]"),
vector_flags);
AddStringSummary(vectors_category_sp, "", ConstString("int16_t [8]"),
AddStringSummary(vectors_category_sp, "", ConstString("int16_t[8]"),
vector_flags);
AddStringSummary(vectors_category_sp, "", ConstString("vDouble"),
vector_flags);