cherry pick fixing all the things
5.27 variant of !40 (merged)
the clang format is run separately from master to avoid problems with new code there. also the typo fix is not applicable (was in new code only in master)
5.27 variant of !40 (merged)
the clang format is run separately from master to avoid problems with new code there. also the typo fix is not applicable (was in new code only in master)