This patch adds a warning to catch semi-colons after function definitions.  The motivation of removing extraneous semi-colons is to make it easier to see which scopes are being ended by a brace.  Function scopes will end with a plain brace.  Class scopes will end with brace and semi-colon.<div>
<br></div><div>class C {</div><div>  void F() {};</div><div>};</div><div><br></div><div><div>extra-semi.cc:2:14: warning: extra ';' after function definition [-Wextra-semi]</div><div>  void F() {};</div><div>             ^</div>
<div>1 warning generated.</div></div>