Fix an issue where the oneliner printing of variables would ignore custom formatting
authorEnrico Granata <egranata@apple.com>
Wed, 17 Jun 2015 02:06:24 +0000 (02:06 +0000)
committerEnrico Granata <egranata@apple.com>
Wed, 17 Jun 2015 02:06:24 +0000 (02:06 +0000)
commitca201238ae8dd8875911baf6855917d801c00e2a
treea70c7ec71cb7ea8d158a56d7f9bdd09064d8b0f1
parent8096d34e5f14cc4ba65a052376459d714b995795
Fix an issue where the oneliner printing of variables would ignore custom formatting

Because vector types use their formats in special ways (i.e. children get generated based on them), this change by itself would cause a regression in printing vector types with some custom formats
Work around that issue by special casing vector types out of this format-passdown mode. I believe there is a more general feature to be designed in this space, but until I see more cases of interest, I am going to leave this as a special case

Fixes rdar://20810062

llvm-svn: 239873
lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
lldb/source/DataFormatters/ValueObjectPrinter.cpp
lldb/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py
lldb/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py