[clang-tidy] Use ignoreImplicit in cert-err58-cpp check
authorMalcolm Parsons <malcolm.parsons@gmail.com>
Sun, 16 Oct 2016 09:47:10 +0000 (09:47 +0000)
committerMalcolm Parsons <malcolm.parsons@gmail.com>
Sun, 16 Oct 2016 09:47:10 +0000 (09:47 +0000)
commit778269dd7840cc16478bf69788695da9add705d6
treef5fc8edccf681d04bc1679590e155b4e718fed49
parentebb006e875d44943748c779eb64a054613f7a0d3
[clang-tidy] Use ignoreImplicit in cert-err58-cpp check

Summary:
Fix a false negative in cert-err58-cpp check when calling a constructor
creates objects that require cleanup.

Reviewers: aaron.ballman

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D25642

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