Re:Apple's SSL/TLS bug
by shurcooL on Saturday February 22, 2014 @09:27AM
(#7282116)
Interesting that, if there was a source code formatting tool (like gofmt for go), it would've made the bug easier to spot because the 2nd goto would lose it's misleading indentation.
[ Parent
| on HN ]
There is such a tool, clang-format in 3.4 does as you expect.
This is what happens if you try the same thing in it http://imgur.com/syt6LuU.
I have emacs setup to auto run clang-format on each save of cc-mode files. I can't NOT notice this stuff now.