Skip to content

lb-format fails on special header files

If a header file (something.h) contains a line like for(auto &[a, b] : ...) clang-format believe it's an Objective-C file and fails (because we only provide formatting rules for C++).

It's enough to rename the file (e.g. to something.hh) to succeed.