llvm-project/clang-tools-extra/clang-tidy
Jonas Toth 9b127421b6 [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
2019-01-31 10:46:37 +00:00
..
abseil [clang-tidy] Fix a build error. 2019-01-28 14:07:45 +00:00
android Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
boost Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
bugprone [clang-tidy] refactor bugprone-exception-escape analysis into class 2019-01-31 10:46:37 +00:00
cert Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
cppcoreguidelines Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
fuchsia Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
google [clang-tidy] Add check for underscores in googletest names. 2019-01-25 10:03:49 +00:00
hicpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
llvm Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
misc [clang-tidy] misc-non-private-member-variables-in-classes: ignore implicit methods 2019-01-20 14:28:27 +00:00
modernize Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
mpi Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
objc Revert rCTE351921 to fix documentation geneeration. 2019-01-23 02:58:59 +00:00
performance Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
plugin Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
portability Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
readability [clang-tidy] Work around http://llvm.org/PR40392 2019-01-21 16:26:54 +00:00
tool Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
utils [clang-tidy] refactor bugprone-exception-escape analysis into class 2019-01-31 10:46:37 +00:00
zircon Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Add explicit dependency on clangSerialization after rC348911 2018-12-12 08:25:16 +00:00
ClangTidy.cpp [clang-tidy] Use getStripPluginsAdjuster 2019-01-21 10:10:18 +00:00
ClangTidy.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyDiagnosticConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyDiagnosticConsumer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyForceLinker.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyModule.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyModule.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyModuleRegistry.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyOptions.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyOptions.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyProfiling.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyProfiling.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
add_new_check.py Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
rename_check.py Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00