[PATCH] D22346: [Clang-tidy] CERT-MSC50-CPP (std:rand() )

Eugene Zelenko via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 11 14:26:31 PDT 2016

Eugene.Zelenko added a comment.

Please mention this check in docs/ReleaseNotes.rst (in alphabetical order).

Comment at: docs/clang-tidy/checks/cert-msc50-cpp.rst:4
@@ +3,3 @@
Should be same length as section name above.

Comment at: docs/clang-tidy/checks/cert-msc50-cpp.rst:6
@@ +5,2 @@
+Pseudorandom number generators use mathematical algorithms to produce a sequence of numbers with good statistical properties, but the numbers produced are not genuinely random. This checker warns for the usage of std::rand().
Please use check and highlight std::rand() with ``.



More information about the cfe-commits mailing list