If using AlwaysBreakAfterReturnType for clang formatting functions are not detected in the exported ui_events.cpp resulting in them being duplicated.
Formatting a function as such
void
someFunc(){}
instead of
void someFunc(){}
results in
void someFunc(){}
being added to the end of the ui_events.cpp