[llvm-branch-commits] [clang-tools-extra] [clang-tidy][docs] Rewrite short check docs to Markdown (PR #210467)
Zeyi Xu via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Jul 19 05:36:14 PDT 2026
================
@@ -1,18 +1,17 @@
-.. title:: clang-tidy - bugprone-bad-signal-to-kill-thread
+```{title} clang-tidy - bugprone-bad-signal-to-kill-thread
+```
-bugprone-bad-signal-to-kill-thread
-==================================
+# bugprone-bad-signal-to-kill-thread
-Finds ``pthread_kill`` function calls when a thread is terminated by
-raising ``SIGTERM`` signal and the signal kills the entire process, not
-just the individual thread. Use any signal except ``SIGTERM``.
+Finds `pthread_kill` function calls when a thread is terminated by
+raising `SIGTERM` signal and the signal kills the entire process, not
+just the individual thread. Use any signal except `SIGTERM`.
-.. code-block:: c++
-
- pthread_kill(thread, SIGTERM);
+```cpp
+pthread_kill(thread, SIGTERM);
+```
This check corresponds to the CERT C Coding Standard rule
-`POS44-C. Do not use signals to terminate threads
-<https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/rules/posix-pos/pos44-c/>`_.
+[POS44-C. Do not use signals to terminate threads](https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/rules/posix-pos/pos44-c/).
`cert-pos44-c` redirects here as an alias of this check.
----------------
zeyi2 wrote:
I think this file renders differently:
- https://clang.llvm.org/extra/clang-tidy/checks/bugprone/bad-signal-to-kill-thread.html
- https://llvmdocs.staging.reidkleckner.dev/clang-tools-extra/docs/clang-tidy/checks/bugprone/bad-signal-to-kill-thread.html
```suggestion
*cert-pos44-c* redirects here as an alias of this check.
```
https://github.com/llvm/llvm-project/pull/210467
More information about the llvm-branch-commits
mailing list