[llvm-bugs] [Bug 52463] New: AlignArrayOfStructures crash on macro

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 10 01:01:43 PST 2021


            Bug ID: 52463
           Summary: AlignArrayOfStructures crash on macro
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jordan.yates at data61.csiro.au
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

Created attachment 25433
  --> https://bugs.llvm.org/attachment.cgi?id=25433&action=edit
Stack backtrace

Using the new AlignArrayOfStructures option with either "Left" or "Right"
crashes on the following macro definition:

#define TEST                        \
        {                           \
                1,                  \
                {                   \
                        1,          \
                        1,          \
                },                  \
        },                          \

C:\Users\Jordan>clang-format --version
clang-format version 13.0.0

Attached is the stack backtrace.

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/20211110/9fc8b876/attachment.html>

More information about the llvm-bugs mailing list