[clang-tools-extra] [clang-tidy] remove type annotations that require python3.9 in add_new_check.py (PR #107850)

Nicolas van Kempen via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 9 06:27:23 PDT 2024


================
@@ -526,7 +526,7 @@ def process_doc(doc_file: Tuple[str, str]) -> Tuple[str, Optional[re.Match[str]]
             # Is it a redirect?
             return check_name, match
 
-    def format_link(doc_file: Tuple[str, str]) -> str:
+    def format_link(doc_file) -> str:
----------------
nicovank wrote:

I believe this can stay.

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


More information about the cfe-commits mailing list