title: Eclipse C++ formatter puts new line before method identifiers
body: <p>I ran into a problem with the Eclipse formatter.  It won't format my code correctly when declaring methods within a class declaration.  It puts a new line after the method's return type.</p>
  
  <p>I already exported the style xml file and examined the settings in it, but none of the settings have any apparent connection to this problem, and the settings editor in Eclipse didn't show the same problem happening in it's sample code for method declarations.</p>
  
  <p>Here is an example bit of code for what I want to have happen:</p>
  
  <pre><code>class MyClass
  {
      public:
          MyClass();
          void myMethod();
  };
  </code></pre>
  
  <p>However, this is what I get:</p>
  
  <pre><code>class MyClass
  {
      public:
          MyClass();
          void
          myMethod();
  };
  </code></pre>
  
  <p>Again, in the styles editor, the code doesn't have this problem and looks just how I want it to, but in the actual code, the story is different.</p>
  
  <p>I'm using version 3.8.0.  Any help is appreciated.</p>
  
  <p>Edit: I deleted those source files that were formatted incorrectly (after formatting the code several times to no avail) and replaced them with "identical" files with the same methods, same structure, etc.  I formatted the code this time and it worked.  This is probably a bug, but I'm leaving it up just in case anyone else encounters a similar problem or has a solution to avoiding this problem in the first place.</p>