Open pointhex opened 5 months ago
@llvm/issue-subscribers-clang-format
Author: None (pointhex)
I found another file with even fewer lines around 1000 where clang-format spends even more time to format it. https://github.com/qt/qtbase/blob/dev/src/corelib/global/qcompilerdetection.h It contains a lot of #ifdefs and #define's preprocessor directives.
Could you please try 18 or main
branch?
Same in main
for me.
The file is part of the "TinyCC" (git://repo.or.cz/tinycc.git). clang-format-17 tcc.h takes longer than 10 seconds though the file has only 2000 lines and includes almost nothing (a few files from the C standard library).