[llvm-bugs] [Bug 35147] New: Backslash is appended each time in multiline comment inside #define with AlignEscapedNewlines: DontAlign

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 31 06:26:55 PDT 2017


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

            Bug ID: 35147
           Summary: Backslash is appended each time in multiline comment
                    inside #define with AlignEscapedNewlines: DontAlign
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mikhail.matrosov at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

Format this code with -style="{AlignEscapedNewlines: DontAlign}":

#define chSpaceSpell \
  0x20 /* ' ' space.  Also used to delimit \
          "change always" pairs */

See how backslash is appended to the comment with each format.

-- 
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/20171031/08caa24b/attachment.html>


More information about the llvm-bugs mailing list