[llvm-bugs] [Bug 50504] New: immediately invoked functions indent

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 27 00:46:31 PDT 2021


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

            Bug ID: 50504
           Summary: immediately invoked functions indent
           Product: clang
           Version: 12.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jkopecky at sievers-group.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

I don't like the solution here:
https://reviews.llvm.org/D32989

It would be better to have an option to decide. The standard style is to indent
the iifes, so it is in books and so it is made by esbenp.prettier-vscode, which
is by far the most popular formatter in VS Code.

Would it be possible to add a boolean to control the setting?

-- 
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/20210527/64f18693/attachment-0001.html>


More information about the llvm-bugs mailing list