[analyzer] ClangSA should tablegen doc urls refering to the main doc page
authorBalazs Benics <balazs.benics@sigmatechnology.se>
Tue, 19 Apr 2022 10:14:27 +0000 (12:14 +0200)
committerBalazs Benics <balazs.benics@sigmatechnology.se>
Tue, 19 Apr 2022 10:14:27 +0000 (12:14 +0200)
commit744e2a3e2232db87cb68b201739956ca205dc946
treea7fd61fbe07704956ff5b59d64dc32c5cb2fe7b2
parent63c4ca9d14bad909f92ef019ec85f7a1c42311f2
[analyzer] ClangSA should tablegen doc urls refering to the main doc page

AFAIK we should prefer
https://clang.llvm.org/docs/analyzer/checkers.html to
https://clang-analyzer.llvm.org/{available_checks,alpha_checks}.html

This patch will ensure that the doc urls produced by tablegen for the
ClangSA, will use the new url. Nothing else will be changed.

Reviewed By: martong, Szelethus, ASDenysPetrov

Differential Revision: https://reviews.llvm.org/D121387
clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-diagnostic-test.c.sarif
clang/utils/TableGen/ClangSACheckersEmitter.cpp