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: unassignedclangb...@nondot.org
          Reporter: m...@komzpa.net
                CC: llvm-bugs@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@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to