title: Looking for a C++ code prettifier that will remove empty lines
body: <p>I've just taken over a large, poorly formatted mass of C++ code.
  I'm looking for a code prettifier with two specific features.</p>
  
  <ul>
  <li><p>Remove superfluous access modifiers</p></li>
  <li><p>Clean up white space in a nice way. eg. leave blank lines between
  functions, collapse multiple blank
  lines into one within functions,
  remove blank lines between the
  opening/closing brace of a function
  and the start/end of the code.</p></li>
  </ul>
  
  <p>This is a typical example. I don't want to have to write one, it'd take too long to prove that it couldn't damage the code and there's way too much to check by eye.</p>
  
  <pre><code>class CLASS_DECL_BASE OComStorage : public OBase
  {
    private:
  
    protected:
  
    public:
  
  
        OComStorage (void );
  
  
  
  
        ~OComStorage (void );
  
        void Thanks_Guys();
  </code></pre>