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

            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: unassignedclangb...@nondot.org
          Reporter: jordan.ya...@data61.csiro.au
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to