Addresses https://bugs.llvm.org/show_bug.cgi?id=41170
The AlwaysBreakAfterReturn type setting can go wrong if the line ends with a comment
void foo() /* comment */
or
void foo() // comment
It will incorrectly see such functions as Declarations and not Definitions
The following code addresses this by looking for function which end with ; <comment> rather than just ; or <comment>