Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

24 lines
629 B
ReStructuredText

.. title:: clang-tidy - bugprone-assert-side-effect
bugprone-assert-side-effect
===========================
Finds ``assert()`` with side effect.
The condition of ``assert()`` is evaluated only in debug builds so a
condition with side effect can cause different behavior in debug / release
builds.
Options
-------
.. option:: AssertMacros
A comma-separated list of the names of assert macros to be checked.
.. option:: CheckFunctionCalls
Whether to treat non-const member and non-member functions as they produce
side effects. Disabled by default because it can increase the number of false
positive warnings.