[NFC] ExceptionEscapeCheck: small refactoring
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 22 Mar 2019 19:45:51 +0000 (19:45 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 22 Mar 2019 19:45:51 +0000 (19:45 +0000)
commitd5ce57184afbf7e4710b37ce827e31f83d270512
tree7a56c5695f35d54f0d321a3eae2cc32625a91253
parent5934341fd93d013a822030e0e0a3701532e82b55
[NFC] ExceptionEscapeCheck: small refactoring

Summary:
D59466 wants to analyse the `Stmt`, and `ExceptionEscapeCheck` does not
have that as a possible entry point.
This simplifies addition of `Stmt` analysis entry point.

Reviewers: baloghadamsoftware, JonasToth, gribozavr

Reviewed By: gribozavr

Subscribers: rnkovacs, cfe-commits

Tags: #clang-tools-extra, #clang

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

llvm-svn: 356799
clang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.cpp
clang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.h