diff options
author | Jonas Toth <jonas.toth@gmail.com> | 2019-01-31 10:46:37 +0000 |
---|---|---|
committer | Jonas Toth <jonas.toth@gmail.com> | 2019-01-31 10:46:37 +0000 |
commit | 9b127421b627a0e2dd0fa46fb327fb051fae918b (patch) | |
tree | 8b9a583d823af9d43637f8409909e03dc8b398c0 /llvm/lib/Support/CommandLine.cpp | |
parent | 4b702045888898367bb630b8f767e21e68d3445b (diff) | |
download | llvm-9b127421b627a0e2dd0fa46fb327fb051fae918b.zip llvm-9b127421b627a0e2dd0fa46fb327fb051fae918b.tar.gz llvm-9b127421b627a0e2dd0fa46fb327fb051fae918b.tar.bz2 |
[clang-tidy] refactor bugprone-exception-escape analysis into class
Summary:
The check `bugprone-exception-escape` does an AST-based analysis to determine
if a function might throw an exception and warns based on that information.
The analysis part is refactored into a standalone class similiar to
`ExprMutAnalyzer` that is generally useful.
I intent to use that class in a new check to automatically introduce `noexcept`
if possible.
Reviewers: aaron.ballman, alexfh, hokein, baloghadamsoftware, lebedev.ri
Reviewed By: baloghadamsoftware, lebedev.ri
Subscribers: lebedev.ri, mgorny, xazax.hun, rnkovacs, cfe-commits
Tags: #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D57100
llvm-svn: 352741
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions