aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/DataFormatters/FormatManager.cpp
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2021-10-22 19:18:11 +0000
committerMed Ismail Bennani <medismail.bennani@gmail.com>2021-10-22 21:18:54 +0200
commit42e4959253e0045a70ff9d8dcb664ce38434e302 (patch)
tree8ab90750d6f43b465ba0069a6993b0bdd487fb66 /lldb/source/DataFormatters/FormatManager.cpp
parent3f34f75a68c34cc859d97943673ee44925702d10 (diff)
downloadllvm-42e4959253e0045a70ff9d8dcb664ce38434e302.zip
llvm-42e4959253e0045a70ff9d8dcb664ce38434e302.tar.gz
llvm-42e4959253e0045a70ff9d8dcb664ce38434e302.tar.bz2
[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 277623f4d5a6. This should also fix TestCompactVectors failure. Differential Revision: https://reviews.llvm.org/D112340 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/DataFormatters/FormatManager.cpp')
-rw-r--r--lldb/source/DataFormatters/FormatManager.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/lldb/source/DataFormatters/FormatManager.cpp b/lldb/source/DataFormatters/FormatManager.cpp
index 92171b6..cda1ae6 100644
--- a/lldb/source/DataFormatters/FormatManager.cpp
+++ b/lldb/source/DataFormatters/FormatManager.cpp
@@ -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);