[llvm-bugs] [Bug 37709] New: Wanted: option to keep *empty* blocks on one line

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 6 10:19:48 PDT 2018


            Bug ID: 37709
           Summary: Wanted: option to keep *empty* blocks on one line
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: matthew.woehlke at kitware.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

I'm having a number of issues trying to get clang-format to behave reasonably

For this RFE, specifically, I am looking at code like:

  struct generic_view {};

I would like to keep this as one line, but there does not seem to be an option
for doing so. (Basically, like https://bugs.llvm.org/show_bug.cgi?id=21667, but
for types rather than functions...)

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/20180606/7d3ebeaf/attachment-0001.html>

More information about the llvm-bugs mailing list