Author: Dave Allured
Date: 2025-12-20T01:38:17+03:00
New Revision: 5226a5aa4c649a1cf178ee186ed0e2a97a741933

URL: 
https://github.com/llvm/llvm-project/commit/5226a5aa4c649a1cf178ee186ed0e2a97a741933
DIFF: 
https://github.com/llvm/llvm-project/commit/5226a5aa4c649a1cf178ee186ed0e2a97a741933.diff

LOG: [clang-tidy][NFC][Docs] Fix typo in bugprone-macro-parentheses (#173101)

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

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/bugprone/macro-parentheses.rst

Removed: 
    


################################################################################
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