[llvm-bugs] [Bug 35008] New: clang-format unwanted extra line added after #define

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 20 00:28:30 PDT 2017


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

            Bug ID: 35008
           Summary: clang-format unwanted extra line added after #define
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: amacara1 at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

Created attachment 19320
  --> https://bugs.llvm.org/attachment.cgi?id=19320&action=edit
source file

Running clang-format with -style=file -i over attached C source file, with
attached .clang-format results in an extra line 2 being added and I cannot
understand the reason behind this addition.

-- 
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/20171020/e3cfa217/attachment.html>


More information about the llvm-bugs mailing list