wenns/sonar-cxx — pull request #291 by Typz (2014-10-03 15:47:41+00:00)
Title: Ignore C++ keywords when parsing C files.

C files sometimes use reserved C++ keywords, and thus cannot be parsed directly.
The usual solution is to create macros manually (in sonar.cxx.defines) to replace them with non-reserved keywords. This however
does not work for mixed C/C++ projects.

To overcome this, this patch lets the plugin automatically add the macros depending on the type of the file. The plugin also resets
the __cplusplus macro according to the type of the file.