title: Parsing C++ to generate unit test stubs
body: <p>I've recently been trying to create units tests for some legacy code.</p>
  
  <p>I've been taking the approach of using the linker to show me which functions cause link errors, greping the source to find the definition and creating a stub from that. </p>
  
  <p>Is there an easier way? 
  Is there some kind of C++ parser that can give me class definitions, in some easy to use form, from which I can generate stubs?</p>