Provide synthetic children for some vector types
authorEnrico Granata <egranata@apple.com>
Fri, 6 Mar 2015 03:32:20 +0000 (03:32 +0000)
committerEnrico Granata <egranata@apple.com>
Fri, 6 Mar 2015 03:32:20 +0000 (03:32 +0000)
commit0ddbf3633c28b4ccf1a2c6ff7ffc49c2cbd4fc4a
tree082ccb6f1e6dcfb7cf7494519f4aba26d899a629
parentd07b2b42285e53d111569996f99a8725af18f16b
Provide synthetic children for some vector types

Unlike GDB, we tackle the problem of representing vector types in different styles by having a synthetic child provider that recognizes the format you're trying to apply to the variable, and coming up with the right type and number of child values to match that format

This makes for a more compact representation and less visual noise

Fixes rdar://5429347

llvm-svn: 231449
lldb/include/lldb/Core/ValueObject.h
lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
lldb/include/lldb/DataFormatters/CXXFormatterFunctions.h
lldb/include/lldb/DataFormatters/VectorType.h [new file with mode: 0644]
lldb/lldb.xcodeproj/project.pbxproj
lldb/source/DataFormatters/FormatManager.cpp
lldb/source/DataFormatters/VectorType.cpp [new file with mode: 0644]
lldb/test/functionalities/data-formatter/vector-types/Makefile [new file with mode: 0644]
lldb/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py [new file with mode: 0644]
lldb/test/functionalities/data-formatter/vector-types/main.cpp [new file with mode: 0644]