From 2f234cbfb05549c62130bf53fc500c0c612f4f7b Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 20 Dec 2018 20:20:20 +0000 Subject: Allow direct navigation to static analysis checker documentation through SARIF exports. This adds anchors to all of the documented checks so that you can directly link to a check by a stable name. This is useful because the SARIF file format has a field for specifying a URI to documentation for a rule and some viewers, like CodeSonar, make use of this information. These links are then exposed through the SARIF exporter. llvm-svn: 349812 --- clang/www/analyzer/alpha_checks.html | 234 ++++++++++++------------- clang/www/analyzer/available_checks.html | 284 +++++++++++++++---------------- 2 files changed, 259 insertions(+), 259 deletions(-) (limited to 'clang/www') diff --git a/clang/www/analyzer/alpha_checks.html b/clang/www/analyzer/alpha_checks.html index a9a30b2..beab87b 100644 --- a/clang/www/analyzer/alpha_checks.html +++ b/clang/www/analyzer/alpha_checks.html @@ -43,10 +43,10 @@ Patches welcome! Name, DescriptionExample - - - - - - - - - - - - @@ -329,12 +329,12 @@ void test(int x) { - - - - - - - - - - - - - - @@ -935,7 +935,7 @@ void test() { - + - -
@@ -1037,7 +1037,7 @@ void test() { - - - - void test() { int y = strlen((char *)&test); // warn } - + - co - - - - - - - - - -
- - - - - - - - - - -
 @interface Test : UIViewController
 @end
@@ -891,11 +891,11 @@ that haven't yet adopted this attribute.)
- - - - - - - - - - - - - - - - - - - - - - +rand_r - -
 int test() {
   return strlen(0); // warn
-- 
cgit v1.1