[PATCH] D97960: [clang-tidy] bugprone-signal-handler improvements: display call chain
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 4 08:53:28 PST 2021
balazske created this revision.
Herald added subscribers: martong, gamesh411, Szelethus, dkrupp, xazax.hun, whisperity.
balazske requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Add a new feature to display the call chain if an unsafe function is
found in a signal handler or function called from it.
Warning messages are improved too.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97960
Files:
clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.cpp
clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
clang-tools-extra/test/clang-tidy/checkers/bugprone-signal-handler-minimal.c
clang-tools-extra/test/clang-tidy/checkers/bugprone-signal-handler-posix.c
clang-tools-extra/test/clang-tidy/checkers/bugprone-signal-handler.c
clang-tools-extra/test/clang-tidy/checkers/bugprone-signal-handler.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97960.328193.patch
Type: text/x-patch
Size: 16763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210304/b14ddf45/attachment-0001.bin>
More information about the cfe-commits
mailing list