[llvm-bugs] [Bug 37718] New: Remove trailing semicolon after function body

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 6 14:59:01 PDT 2018


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

            Bug ID: 37718
           Summary: Remove trailing semicolon after function body
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: anatol.pomozov at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

I have a C file with function like this

void foo(void) {
};

Semicolon after the function body is unneeded. I want to remove this
informational noise. But I do not see such option in clang-format tool.

Please add an option to remove semicolons after the C function body.

-- 
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/9c698789/attachment.html>


More information about the llvm-bugs mailing list