[PATCH] D69181: [clang-tidy] Adding misc-signal-terminated-thread check
Kocsis Ábel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 18 10:11:50 PDT 2019
abelkocsis created this revision.
abelkocsis added reviewers: aaron.ballman, alexfh, JonasToth, steakhal, Charusso.
abelkocsis added a project: clang-tools-extra.
Herald added subscribers: cfe-commits, mgehre, jfb, dexonsmith, steven_wu, hiraditya, xazax.hun, mgorny, mehdi_amini.
Herald added a reviewer: jfb.
Herald added a project: clang.
According to
https://wiki.sei.cmu.edu/confluence/display/c/POS44-C.+Do+not+use+signals+to+terminate+threads
misc-signal-terminated-thread check is created. The check warn if
`pthread_kill` function is called with `SIGTERM` signal.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D69181
Files:
clang-tools-extra/clang-tidy/misc/BadSignalToKillThreadCheck.cpp
clang-tools-extra/clang-tidy/misc/BadSignalToKillThreadCheck.h
clang-tools-extra/clang-tidy/misc/CMakeLists.txt
clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/misc-bad-signal-to-kill-thread.rst
clang-tools-extra/test/clang-tidy/misc-bad-signal-to-kill-thread.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69181.225641.patch
Type: text/x-patch
Size: 8731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191018/5bbf22f7/attachment-0001.bin>
More information about the cfe-commits
mailing list