[clang] [clang][analyzer][doc] Migrate user-related docs from HTML to RST (PR #97034)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 05:58:36 PDT 2024


================
@@ -0,0 +1,239 @@
+Command Line Usage: scan-build and CodeChecker
+==============================================
+
+This document provides guidelines for running Clang Static Analyzer from the command line on whole projects.
+CodeChecker and scan-build are two CLI tools for using CSA on multiple files (tranlation units).
+Both provide a way of driving the analyzer, detecting compilation flags, and generating reports.
+CodeChecker is more actively maintained, provides heuristics for working with multiple versions of popular compilers and it also comes with a web-based GUI for viewing, filtering, categorizing and suppressing the results.
+Therefore CodeChecker is recommended in case you need any of the above features or just more customizability in general.
+
+Comparison of CodeChecker and scan-build
+----------------------------------------
+
+Static Analyzer is by design a GUI tool originally intended to be consumed by the XCode IDE.
----------------
NagyDonat wrote:

Is this still true?

(Even if it's obsolete, we should probably leave it for a follow-up commit.)

https://github.com/llvm/llvm-project/pull/97034


More information about the cfe-commits mailing list