Skip to content
Commit 43aef4cb authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Add a new checker, cert-err58-cpp, that checks for static or thread_local...

Add a new checker, cert-err58-cpp, that checks for static or thread_local objects that use a throwing constructor.

This check corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/ERR58-CPP.+Constructors+of+objects+with+static+or+thread+storage+duration+must+not+throw+exceptions

llvm-svn: 254415
parent a0a5039d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment