[llvm-bugs] [Bug 49519] New: [clang-format] infinite loops
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Mar 10 11:19:18 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=49519
Bug ID: 49519
Summary: [clang-format] infinite loops
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: kadircetinkaya.06.tr at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
running clang-format on
https://github.com/mackron/miniaudio/blob/d06d4983d3ff512690eb37f5edd25bf96f8f3764/miniaudio.h
results in clang-format infinite looping, constantly allocating more memory
until process runs OOM.
```
$ ~/repos/llvm/build/bin/clang-format --version
clang-format version 13.0.0 (git at github.com:llvm/llvm-project.git
99b01cf28db9db1a3ec0e25367bd325b7aca6d43)
```
--
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/20210310/890612a7/attachment.html>
More information about the llvm-bugs
mailing list