1*6e566bc5SRichard.. title:: clang-tidy - misc-static-assert 2*6e566bc5SRichard 3*6e566bc5SRichardmisc-static-assert 4*6e566bc5SRichard================== 5*6e566bc5SRichard 6*6e566bc5SRichard`cert-dcl03-c` redirects here as an alias for this check. 7*6e566bc5SRichard 8*6e566bc5SRichardReplaces ``assert()`` with ``static_assert()`` if the condition is evaluable 9*6e566bc5SRichardat compile time. 10*6e566bc5SRichard 11*6e566bc5SRichardThe condition of ``static_assert()`` is evaluated at compile time which is 12*6e566bc5SRichardsafer and more efficient. 13