[PATCH] D44143: Create properly seeded random generator check
Borsik Gábor via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 10 10:26:06 PST 2018
boga95 updated this revision to Diff 137915.
boga95 marked an inline comment as done.
boga95 added a comment.
Add capability to provide a user-configurable list of disallowed types which will trigger warning. Now it also detects C srand function. Rename check to cert-msc51-cpp. Add cert-msc32-c check. Change warning messages. Other minor fixes.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D44143
Files:
clang-tidy/cert/CERTTidyModule.cpp
clang-tidy/cert/CMakeLists.txt
clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp
clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/cert-msc32-c.rst
docs/clang-tidy/checks/cert-msc51-cpp.rst
test/clang-tidy/cert-msc32-c.c
test/clang-tidy/cert-msc51-cpp.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44143.137915.patch
Type: text/x-patch
Size: 24303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180310/af238517/attachment-0001.bin>
More information about the cfe-commits
mailing list