wenns/sonar-cxx — pull request #161 by Typz (2014-04-10 15:21:50+00:00)
Title: Improve indentation checker

* Handle tabulations, with option to configure equalivant number of spaces
* Properly check for all members (e.g. virtual methods)
* Fix indent if statement is on the same line as opening block
* Check goto labels are not indented (i.e. column 0)
* Check preprocessor commands (#if, #define...) are not indented
* Check indentation of 'top level' declarations
* Check indentation of case/default labels in switch, with option to decide if they are indented or not from the switch
* Check indentation of trivias (e.g. comments or macros), and do not report error if the actual statement/definition/... is defined further in the line