Added rule to use early exits and continue to simplify code -> see http://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code
Remove unneeded null checks.
Fix a typo
- add const and reference.
- remove useless include.
Add checking for more flow of control statements - the early return might be also an early break/continue/goto.
Add tests.
Fix after review.
Add some consts.
Extract and merge line counting methods from rules.
Merge branch 'PreferEarlyExitRule' of https://github.com/yachoor/oclint.git