Bug ID: 36488
           Summary: clang-format memory usage increases constantly up to
                    machine crash with very long #define
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter

Created attachment 19936
File that make clang-format fail

The attached 600 lines #define makes clang-format constantly use more memory up
to system crash (32 Gb).

clang-format -style=LLVM x.cpp

tested on linux with clang-format 4.0.1 and 5.0.1.

You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list

Reply via email to