https://github.com/Dave-Allured created 
https://github.com/llvm/llvm-project/pull/173101

Link title for `CERT C Coding Standard rule PRE20-C` should be `PRE02-C` to 
match target.

>From 70eac470f7038212e3ff71fa07df49d2d13b0a4d Mon Sep 17 00:00:00 2001
From: Dave Allured <[email protected]>
Date: Fri, 19 Dec 2025 14:03:04 -0700
Subject: [PATCH] Docs: Bugprone: Fix typo

---
 .../docs/clang-tidy/checks/bugprone/macro-parentheses.rst       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/clang-tools-extra/docs/clang-tidy/checks/bugprone/macro-parentheses.rst 
b/clang-tools-extra/docs/clang-tidy/checks/bugprone/macro-parentheses.rst
index 80cea089564e4..bfeb7cfce4334 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/bugprone/macro-parentheses.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone/macro-parentheses.rst
@@ -19,5 +19,5 @@ with parentheses. This ensures that the argument value is 
calculated
 properly.
 
 This check corresponds to the CERT C Coding Standard rule
-`PRE20-C. Macro replacement lists should be parenthesized.
+`PRE02-C. Macro replacement lists should be parenthesized.
 
<https://wiki.sei.cmu.edu/confluence/display/c/PRE02-C.+Macro+replacement+lists+should+be+parenthesized>`_

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to