Lightning Talk: ClangFormat Is Not It
summary
Claim: ClangFormat is widely used but far from a universal or C-aware formatter. Evidence: a GitHub scan finds 8.65% of repos with a config, surveys put it at 21% guideline enforcement usage, teams pin CI to specific versions after breakages where a bool becomes an enum, and demos show angle brackets make templates so spaces vanish unexpectedly. Root cause is a fuzzy parser that needs explicit macro_block_begin/macro_block_end and other hacks, so it reformats but does not fully understand C++.
AI-written summary · about








