[PATCH] [YAMLIO] Make line-wrapping configurable and test it.

Frederic Riss friss at apple.com
Thu May 28 16:04:46 PDT 2015


Hi bogner,

We would wrap flow mappings and sequences when they go over a hardcoded 70
characters limit. Make the wrapping column configurable (and default to 70
co the change should be NFC for current users). Passing 0 allows to completely
suppress the wrapping which makes it easier to handle in tools like FileCheck.

http://reviews.llvm.org/D10109

Files:
  docs/YamlIO.rst
  include/llvm/Support/YAMLTraits.h
  lib/Support/YAMLTraits.cpp
  unittests/Support/YAMLIOTest.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10109.26749.patch
Type: text/x-patch
Size: 6807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150528/e1df2d21/attachment.bin>


More information about the llvm-commits mailing list