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

            Bug ID: 31910
           Summary: clang-format mangles the first comment it sees inside
                    a macro
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: dch...@google.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org
    Classification: Unclassified

Input:

#define MACRO() \
  int test; \
  // Long comment which won't fit in the 80 column limit on the previous line.

Output:

#define MACRO() \
  int test;     \
// Long comment which won't fit in the 80 column limit on the previous line.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to