[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang-tools-extra / docs / clang-tidy / checks / misc / static-assert.rst
blob560d43f8d621625ce603a2b4d652b9bc49beca18
1 .. title:: clang-tidy - misc-static-assert
3 misc-static-assert
4 ==================
6 `cert-dcl03-c` redirects here as an alias for this check.
8 Replaces ``assert()`` with ``static_assert()`` if the condition is evaluable
9 at compile time.
11 The condition of ``static_assert()`` is evaluated at compile time which is
12 safer and more efficient.