[clang-tools-extra] [clang-tidy][NFC] Fix list.rst and add_new_check.py (PR #192228)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 15 06:17:42 PDT 2026


================
@@ -522,56 +553,66 @@ def format_link(doc_file: Tuple[str, str]) -> str:
 
     def format_link_alias(doc_file: Tuple[str, str]) -> str:
         check_name, match = process_doc(doc_file)
-        if (match or (check_name.startswith("clang-analyzer-"))) and check_name:
----------------
zeyi2 wrote:

The diff is large, but it's basically flatten the if statement without changing the main logic.

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


More information about the cfe-commits mailing list