[llvm-bugs] [Bug 49032] New: [Support] Indentation of multi-line descr of enum cli options is off.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 4 01:37:27 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=49032

            Bug ID: 49032
           Summary: [Support] Indentation of multi-line descr of enum cli
                    options is off.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: joachim at joameyer.de
                CC: llvm-bugs at lists.llvm.org
            Blocks: 48902

As this is used in release/12.x in clang-format, it would be nice to have this
cherry-picked before 12.0.0.

Currently, clang-format's help page awfully looks like this:
```
Clang-format options:

  --Werror                   - If set, changes formatting warnings to errors
  --Wno-error=<value>        - If set don't error out on the specified warning
type.
    =unknown                 -   If set, unknown format options are only warned
about.
This can be used to enable formatting, even if the
configuration contains unknown (newer) options.
Use with caution, as this might lead to dramatically
differing format depending on an option being
supported or not.
  --assume-filename=<string> - Override filename used to determine the
language.
                               When reading from stdin, clang-format assumes
this
                               filename to determine the language.
  --cursor=<uint>            - The position of the cursor when invoking
```


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=48902
[Bug 48902] [meta] 12.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210204/539408ea/attachment-0001.html>


More information about the llvm-bugs mailing list