Continuous Inspection

SonarQube C/C++/Objective C 4.0 Released

SonarSource is pleased to announce the release of the C/C++/Objective-C plugin version 4.0.


This new version provides the following 17 new rules:


Moreover, the syntax highlighting mechanism has a new useful feature allowing to highlight relevant pieces of code in control flow statements to ease the reading of the code.

Here is this feature in action on a ‘switch’ statement:



And to be noted that the ability to write custom rules based on XPath expressions has been dropped in this version. Indeed XPath expressions could be used only to write very basic rules but the technology itself was too limited to benefit from the Semantic Analyzer or the Symbolic Execution Engine.


Please read the release notes for more information about all the other improvements and bug fixes part of this release. You can install or update it via the Update Center.

Trial version and documentation are available on the C/C++ and Objective-C product pages.