summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-11-16 19:17:43 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-11-16 19:17:43 +0000
commit5a786ddf4c69b3f24620fc2313febc290745740a (patch)
treef3ac4ad245905cbc21cc557dffda370e36a23843 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parentc397b26790871ea0be6fa7dfdd860c2584560e8f (diff)
downloadbcm5719-llvm-5a786ddf4c69b3f24620fc2313febc290745740a.tar.gz
bcm5719-llvm-5a786ddf4c69b3f24620fc2313febc290745740a.zip
Add a new clang-tidy checker that flags throw expressions whose thrown type is not nothrow copy constructible. While the compiler is free to elide copy constructor calls in some cases, it is under no obligation to do so, which makes the code a portability concern as well as a security concern.
This checker corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/ERR60-CPP.+Exception+objects+must+be+nothrow+copy+constructible llvm-svn: 253246
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud