aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-05-10 17:15:51 +0000
committerAlexander Kornienko <alexfh@google.com>2013-05-10 17:15:51 +0000
commit72a196a159b28f26f84d9afec8b2baac11d367bc (patch)
tree1ba076ac83be2e098ca9204902c9cd16c410cf7e /llvm/lib/Bitcode/Reader/BitstreamReader.cpp
parent757fbb0b144114810af70ee69972a2bf302873cd (diff)
downloadllvm-72a196a159b28f26f84d9afec8b2baac11d367bc.zip
llvm-72a196a159b28f26f84d9afec8b2baac11d367bc.tar.gz
llvm-72a196a159b28f26f84d9afec8b2baac11d367bc.tar.bz2
Better output for long help strings for command-line options.
Summary: This patch allows using \n inside long help strings for command-line options, so that all lines are equally indented. This is not a perfect solution, as we don't (and probably don't want to) know about terminal width, but it allows to format long help strings somehow readable without manually padding them with spaces. A motivating example is -help output from clang-format (source code in tools/clang-format/ClangFormat.cpp, see cl options offset, length, style, and dump-config). Reviewers: atrick, alexfh Reviewed By: alexfh CC: llvm-commits, rafael Differential Revision: http://llvm-reviews.chandlerc.com/D779 llvm-svn: 181608
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions