llvm/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/security.insecureAPI.rand.rst

.. title:: clang-tidy - clang-analyzer-security.insecureAPI.rand
.. meta::
   :http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#security-insecureapi-rand

clang-analyzer-security.insecureAPI.rand
========================================

Warn on uses of the 'rand', 'random', and related functions.

The `clang-analyzer-security.insecureAPI.rand` check is an alias, please see
`Clang Static Analyzer Available Checkers
<https://clang.llvm.org/docs/analyzer/checkers.html#security-insecureapi-rand>`_
for more information.