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

            Bug ID: 32452
           Summary: clang-format needs 3.2s to format a 4500-line file
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

Created attachment 18192
  --> https://bugs.llvm.org/attachment.cgi?id=18192&action=edit
repro

Attached. Seems fairly slow given the filesize (181K).

$ time clang-format third_party/lss/linux_syscall_support.h > /dev/null

real    0m3.256s
user    0m3.056s
sys     0m0.200s

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to