Silence a false positive with the cert-err58-cpp check; now allows objects with stati...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 26 Sep 2016 15:00:45 +0000 (15:00 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 26 Sep 2016 15:00:45 +0000 (15:00 +0000)
commit160572855dec877a5aa153130f9a3b40c722f839
tree646a39300af9abbebfd0a0b73bf286fed83adc17
parent194cae9aba0190a8b7310981c36b8bd15a49f2e0
Silence a false positive with the cert-err58-cpp check; now allows objects with static or thread storage duration at function block scope.

Patch by Malcolm Parsons

llvm-svn: 282409
clang-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp
clang-tools-extra/test/clang-tidy/cert-static-object-exception.cpp