[LLVMbugs] [Bug 20695] New: clang-format c comment in preprocessor macro

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 18 09:20:47 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20695

            Bug ID: 20695
           Summary: clang-format c comment in preprocessor macro
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: diltsman at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12912
  --> http://llvm.org/bugs/attachment.cgi?id=12912&action=edit
Code to apply clang-format to

I have a multi-line macro that has a C-style comment in the middle of it.  When
I attempt to run clang-format over it extra '\' are placed and line breaks are
unexpected.

Running clang-format multiple times over the code makes the problem worse.

I am using the Visual Studio plugin installer, based on SVN r215355.

-- 
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/20140818/366630e4/attachment.html>


More information about the llvm-bugs mailing list