C/C++/Objective-C analysis overview

An overview of the configuration required to analyze CFamily code in SonarQube Server.

The term CFamily refers to the collective group of C, C++, and Objective-C languages.

Supported versions

The level of support for a language is defined as follows:

  • Fully supported: Analysis will complete. All the language features are understood and examined.

  • Supported: Most language features are understood and examined but the version includes unsupported features. Analysis might break or provide incomplete results.

C

  • C89, C99, C11, C17: Fully supported

  • C23: Supported

  • GNU extensions: Supported

C++

  • C++20, C++23: Supported

  • C++03, C++11, C++14, C++17: Fully supported

  • GNU extensions: Supported

CFamily analysis

The next pages cover the following topics:

Check out this video on how to scan C / C++ code with SonarQube Server.

Was this helpful?