[llvm-bugs] [Bug 24745] New: ObjC: clang-format misaligns closing brackets in method with block

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 7 20:59:43 PDT 2015


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

            Bug ID: 24745
           Summary: ObjC: clang-format misaligns closing brackets in
                    method with block
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: evergreenthrowaway at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

INPUT
echo -e "[self parameter:nil\ncompletion:^{}];" | clang-format

OUTPUT
[self parameter:nil
     completion:^{
     }];

Expected: Closing curly brace and square bracket to be left-aligned. Does this
behave correctly? If so, is there an option to make it left-aligned?

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/20150908/787a44a4/attachment-0001.html>


More information about the llvm-bugs mailing list