Skip to content

Commit bbdc8b3

Browse files
zeyi2aahrun
authored andcommitted
[clang-tidy][NFC] Fix option highlighting and list style in documentation (llvm#169874)
The related discussion can be found at: llvm#168324 (comment)
1 parent 42d2d2d commit bbdc8b3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

clang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ Options
4545
Selects which set of functions is considered as asynchronous-safe
4646
(and therefore allowed in signal handlers). It can be set to the following values:
4747

48-
``minimal``
48+
- `minimal`
4949
Selects a minimal set that is defined in the CERT SIG30-C rule.
5050
and includes functions ``abort()``, ``_Exit()``, ``quick_exit()`` and
5151
``signal()``.
52-
``POSIX``
52+
- `POSIX`
5353
Selects a larger set of functions that is listed in POSIX.1-2017 (see `this
5454
link
5555
<https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04_03>`_
@@ -94,4 +94,4 @@ Options
9494
The function ``quick_exit`` is not included in the POSIX list but it
9595
is included here in the set of safe functions.
9696

97-
The default value is ``POSIX``.
97+
The default value is `POSIX`.

clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Options
4141

4242
Selects what kind of a fix the check should provide. The default is `UseStatic`.
4343

44-
``None``
44+
- `None`
4545
Don't fix automatically.
4646

47-
``UseStatic``
47+
- `UseStatic`
4848
Add ``static`` for internal linkage variable and function.

0 commit comments

Comments
 (0)