Skip to content

Commit 5226a5a

Browse files
authored
[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.
1 parent 056ae8b commit 5226a5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ with parentheses. This ensures that the argument value is calculated
1919
properly.
2020

2121
This check corresponds to the CERT C Coding Standard rule
22-
`PRE20-C. Macro replacement lists should be parenthesized.
22+
`PRE02-C. Macro replacement lists should be parenthesized.
2323
<https://wiki.sei.cmu.edu/confluence/display/c/PRE02-C.+Macro+replacement+lists+should+be+parenthesized>`_

0 commit comments

Comments
 (0)