clang-format check reports weird error in Kaidan
I've added the clang-format CI check in network/kaidan!1134 (30b485dc). It fails (https://invent.kde.org/network/kaidan/-/jobs/1731621) and reports e.g.
- Q_EMIT Kaidan::instance()->openChatPageRequested(accountJid, jid);
+ Q_EMIT Kaidan::instance() -> openChatPageRequested(accountJid, jid);
Running
wget -O .clang-format https://invent.kde.org/frameworks/extra-cmake-modules/-/raw/master/kde-modules/clang-format.cmake
find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) | xargs clang-format -i
locally does not produce this broken formatting.
Edited by Plata Hill