Skip to content
  • Nick Mathewson's avatar
    Catch a few more K&R violations with make check-spaces · a6688c57
    Nick Mathewson authored
    We now catch bare {s that should be on the previous line with a do,
    while, if, or for, and elses that should share a line with their
    preceding }.
    
    That is,
        if (foo)
        {
    and
        if (foo) {
          ...
        }
        else
    
    are now detected.
    
    We should think about maybe making Tor uncrustify-clean some day,
    but configuring uncrustify is an exercise in bizarreness, and
    reformatting huge gobs of Tor is always painful.
    a6688c57