[llvm-bugs] [Bug 33121] New: Incorrect formatting of lambdas with option UseTab: ForIndentation

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 22 02:36:52 PDT 2017


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

            Bug ID: 33121
           Summary: Incorrect formatting of lambdas with option UseTab:
                    ForIndentation
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: farkas.szilard at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

Created attachment 18485
  --> https://bugs.llvm.org/attachment.cgi?id=18485&action=edit
Format Options + Actual and Expected output

When a lambda is enclosed between parentheses (pretty often), spaces are used
in indentation instead of tabs even when using UseTab: ForIndentation option.

Indenting with tabs always is not an option for me it makes indentation even
worse.

-- 
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/20170522/b5dc8c7e/attachment.html>


More information about the llvm-bugs mailing list