blob: 6a7f615db081c43e4d4482c66aff3d157612ca56 [file] [log] [blame]
.. title:: clang-tidy - cert-err58-cpp
cert-err58-cpp
==============
This check flags all ``static`` or ``thread_local`` variable declarations where
the initializer for the object may throw an exception.
This check corresponds to the CERT C++ Coding Standard rule
`ERR58-CPP. Handle all exceptions thrown before main() begins executing
<https://www.securecoding.cert.org/confluence/display/cplusplus/ERR58-CPP.+Handle+all+exceptions+thrown+before+main%28%29+begins+executing>`_.