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: unassignedclangb...@nondot.org
          Reporter: kadircetinkaya.06...@gmail.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@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 (g...@github.com:llvm/llvm-project.git
99b01cf28db9db1a3ec0e25367bd325b7aca6d43)
```

-- 
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