diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2019-10-29 14:40:30 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2019-10-30 18:12:48 +0300 |
commit | 6e779e953e9d526e215e64bd1c8ebba8db0b44fe (patch) | |
tree | 61d1409830c394329680059c39209390252234e0 /lldb/packages/Python/lldbsuite/test | |
parent | 29e8b8ce6697414759f9314255d0165edbb3e454 (diff) | |
download | bcm5719-llvm-6e779e953e9d526e215e64bd1c8ebba8db0b44fe.tar.gz bcm5719-llvm-6e779e953e9d526e215e64bd1c8ebba8db0b44fe.zip |
[ObjectYAML] - Redefine LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::yaml::Hex*) as LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR.
I am using it in https://reviews.llvm.org/D69399.
This change changes how obj2yaml dumps arrays of `llvm::yaml::Hex8/llvm::yaml::Hex16/llvm::yaml::Hex32`
from:
```
PayloadBytes:
- 0x01
- 0x02
...
```
To
```
PayloadBytes: [ 0x01, 0x02, ... ]
```
The latter way is shorter and looks better for arrays.
Differential revision: https://reviews.llvm.org/D69558
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions