[llvm-bugs] [Bug 43186] New: A list of clang-format options that don't work as documented/expected.

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Aug 31 12:11:53 PDT 2019


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

            Bug ID: 43186
           Summary: A list of clang-format options that don't work as
                    documented/expected.
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: danielmrussell at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

#The following options are in the online documentation but don't work at all
 # or are very defective in release (8.0.1).

AllowAllConstructorInitializersOnNextLine: false
BraceWrapping:
    AfterCaseLabel: true

# AfterColon and BeforeColon fails to break at all
BreakConstructorInitializers: AfterColon

ConstructorInitializerAllOnOneLineOrOnePerLine: false
#  There appears to be no way to make sure clang will break
# our constructor initializer lists. It REALLY wants to put them on the same
# line. Also the options are a total mess right now, lacking symmetry. No one
# online knows what the proper way to achieve this what they want w/
# constructor lists as a result.

-- 
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/20190831/6b82164d/attachment.html>


More information about the llvm-bugs mailing list