in reply to Tidy code for other languages?

The job is known by many names. Try for terms like "pretty print", "grind", "beautifier". The classic C pretty printers are "indent" and "cb". Many others can be found, e.g. see http://www.softpanorama.org/Tools/beautifiers.shtml.