Firstly, I have nothing to do with this plugin other than trying it out, but I figured it might be of interest to any C/C++ programmers, and possibly any plugin experts who could help improve it.
The clang compiler package includes a tool to do code formatting (clang-format), which also includes a plugin to run it from ST:
llvm.org/svn/llvm-project/cfe/tr … sublime.py
I have been playing with it today (on Win7 64) and it seems to work well. I can press ctrl-shift-c and it will format the current line, or highlight something and format that.