Extra Clang Tools 5 documentation

clang-tidy - misc-static-assert

«  misc-sizeof-expression   ::   Contents   ::   misc-string-compare  »

misc-static-assert

cert-dcl03-c redirects here as an alias for this check.

Replaces assert() with static_assert() if the condition is evaluatable at compile time.

The condition of static_assert() is evaluated at compile time which is safer and more efficient.

«  misc-sizeof-expression   ::   Contents   ::   misc-string-compare  »