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.
Just a thought: there are 7 elements on one line. 8 may look slightly better if we can make the column limit softer..
The default WrapColumn used in llvm::yaml::Output::Output is 70. YAMLTraits tries to wrap the line when the column number exceeds 70.