From 9099b02638758ef01dc887a8078e7300a66aa82e Mon Sep 17 00:00:00 2001 From: Gabor Marton Date: Tue, 29 Oct 2019 15:48:45 +0100 Subject: [PATCH] Add CodeChecker to the command line tools --- clang/www/analyzer/command-line.html | 33 ++++++++++++++++++++++++++++ clang/www/analyzer/index.html | 6 ++--- 2 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 clang/www/analyzer/command-line.html diff --git a/clang/www/analyzer/command-line.html b/clang/www/analyzer/command-line.html new file mode 100644 index 0000000000000..58bf5ea88b0db --- /dev/null +++ b/clang/www/analyzer/command-line.html @@ -0,0 +1,33 @@ + + + + Running the analyzer from the command line + + + + + + +
+ +
+ +

Running the analyzer from the command line

+ +

The following tools are supported to run the analyzer from the command line: +

+

+ +

+Both tools are wrapper scripts to drive the analysis and the underlying invocations of the Clang compiler. +Cross translation unit (CTU) analysis is supported officially only via CodeChecker. +

+ +
+
+ + diff --git a/clang/www/analyzer/index.html b/clang/www/analyzer/index.html index cca105a818ad0..1f9c77f4171fe 100644 --- a/clang/www/analyzer/index.html +++ b/clang/www/analyzer/index.html @@ -72,9 +72,9 @@

Clang Static Analyzer

The Clang Static Analyzer is a source code analysis tool that finds bugs in C, C++, and Objective-C programs.

-

Currently it can be run either as a standalone -tool or within Xcode. The standalone tool is -invoked from the command line, and is intended to be run in tandem with a build +

Currently it can be run either from the command + line or if you use macOS then within Xcode. When +invoked from the command line, it is intended to be run in tandem with a build of a codebase.

The analyzer is 100% open source and is part of the