[llvm-bugs] [Bug 35900] New: clang-format-5 hangs and leaks on postgis/uthash.h

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 11 01:01:29 PST 2018


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

            Bug ID: 35900
           Summary: clang-format-5 hangs and leaks on postgis/uthash.h
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: me at komzpa.net
                CC: llvm-bugs at lists.llvm.org

Created attachment 19651
  --> https://bugs.llvm.org/attachment.cgi?id=19651&action=edit
clang-format file

Hi,

Trying to format postgis headers with clang-format.

version:
`
kom at junocat postgis % clang-format-5.0 --version
clang-format version 5.0.0-3 (tags/RELEASE_500/final)
`

this file makes it eat more than 17 gb of ram and never finish on my machine:

`clang-format-5.0 --style=file -i postgis/uthash.h`

-- 
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/20180111/fd39bae2/attachment-0001.html>


More information about the llvm-bugs mailing list