[llvm-bugs] [Bug 25008] New: Multi-line brace simple statement

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 30 17:42:26 PDT 2015


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

            Bug ID: 25008
           Summary: Multi-line brace simple statement
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: marcandre.lureau at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org
    Classification: Unclassified

Hi,

I am looking for a way to enforce braces around statements.

so, some thing like:

if (foo) bar();

would turn into:

if (foo) {
    bar();
}

(btw, qemu style)

thanks

-- 
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/20151001/3f68d1bc/attachment-0001.html>


More information about the llvm-bugs mailing list