mib created this revision. mib added a reviewer: dblaikie. mib added a project: LLDB. Herald added a subscriber: JDevlieghere. mib requested review of this revision. Herald added a subscriber: lldb-commits.
This patch changes the string summaries for vector types by removing the space between the type and the bracket, conforming to 277623f4d5a6 <https://reviews.llvm.org/rG277623f4d5a672d707390e2c3eaf30a9eb4b075c>. This should also fix TestCompactVectors failure. Signed-off-by: Med Ismail Bennani <medismail.benn...@gmail.com> Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D112340 Files: lldb/source/DataFormatters/FormatManager.cpp Index: lldb/source/DataFormatters/FormatManager.cpp =================================================================== --- lldb/source/DataFormatters/FormatManager.cpp +++ lldb/source/DataFormatters/FormatManager.cpp @@ -776,11 +776,11 @@ // 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);
Index: lldb/source/DataFormatters/FormatManager.cpp =================================================================== --- lldb/source/DataFormatters/FormatManager.cpp +++ lldb/source/DataFormatters/FormatManager.cpp @@ -776,11 +776,11 @@ // 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);
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits