• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. title:: clang-tidy - cert-err58-cpp
2
3cert-err58-cpp
4==============
5
6This check flags all ``static`` or ``thread_local`` variable declarations where
7the initializer for the object may throw an exception.
8
9This check corresponds to the CERT C++ Coding Standard rule
10`ERR58-CPP. Handle all exceptions thrown before main() begins executing
11<https://www.securecoding.cert.org/confluence/display/cplusplus/ERR58-CPP.+Handle+all+exceptions+thrown+before+main%28%29+begins+executing>`_.
12