Is it possible to analyze a single C/C++ source code file without any compilation?

Must-share information (formatted with Markdown):

  • SonarQube, Dev Edition, v 8.4
  • analyze C/C++ source code files without any compilation.
  • don’t know where to start

Hello @CaoFeng1226,

You cannot analyze C and C++ without compilation. What your code means depends on how you build it. That is why wrapping your build with our build-wrapper is currently necessary to do the analysis.

Thanks,