[PATCH] D44143: [clang-tidy] Create properly seeded random generator check

Borsik Gábor via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 4 12:24:22 PDT 2018


boga95 added a comment.

How can I commit it?



================
Comment at: docs/clang-tidy/checks/cert-msc51-cpp.rst:7
+This check flags all pseudo-random number engines, engine adaptor
+instantiations and `srand()` when initialized or seeded with default argument,
+constant expression or any user-configurable type. Pseudo-random number
----------------
aaron.ballman wrote:
> Please add double backticks around `srand()` instead of single backticks.
Should I use double backticks in release notes too?


https://reviews.llvm.org/D44143





More information about the cfe-commits mailing list