[all-commits] [llvm/llvm-project] e3f023: [Support] Indent multi-line descr of enum cli opti...

fodinabor via All-commits all-commits at lists.llvm.org
Thu Feb 4 01:13:14 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3f02302e318837d2421c6425450f04ae0a82b90
      https://github.com/llvm/llvm-project/commit/e3f02302e318837d2421c6425450f04ae0a82b90
  Author: Joachim Meyer <joachim at joameyer.de>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M llvm/include/llvm/Support/CommandLine.h
    M llvm/lib/Support/CommandLine.cpp
    M llvm/unittests/Support/CommandLineTest.cpp

  Log Message:
  -----------
  [Support] Indent multi-line descr of enum cli options.

As noted in https://reviews.llvm.org/D93459, the formatting of
multi-line descriptions of clEnumValN and the likes is unfavorable.
Thus this patch adds support for correctly indenting these.

Reviewed By: serge-sans-paille

Differential Revision: https://reviews.llvm.org/D93494




More information about the All-commits mailing list