https://bugs.llvm.org/show_bug.cgi?id=36488
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
Assignee: unassignedclangb...@nondot.org
Reporter: ufosp...@gmail.com
CC: djas...@google.com, kli...@google.com,
llvm-bugs@lists.llvm.org
Created attachment 19936
--> https://bugs.llvm.org/attachment.cgi?id=19936&action=edit
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
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs