14 lines · plain
1.. title:: clang-tidy - cert-msc50-cpp2.. meta::3 :http-equiv=refresh: 5;URL=../misc/predictable-rand.html4 5cert-msc50-cpp6==============7 8The `cert-msc50-cpp` check is an alias, please see9:doc:`misc-predictable-rand <../misc/predictable-rand>` for more information.10 11This check corresponds to the CERT C Coding Standard rule12`MSC50-CPP. Do not use std::rand() for generating pseudorandom numbers13<https://wiki.sei.cmu.edu/confluence/display/cplusplus/MSC50-CPP.+Do+not+use+std%3A%3Arand%28%29+for+generating+pseudorandom+numbers>`_.14