[PATCH] D57883: [clang-tidy] refactor ExceptionAnalyzer further to give ternary answer
Jonas Toth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 7 03:41:16 PST 2019
JonasToth created this revision.
JonasToth added reviewers: lebedev.ri, aaron.ballman, baloghadamsoftware, alexfh.
Herald added subscribers: cfe-commits, dkrupp, donat.nagy, Szelethus, a.sidorin, rnkovacs, xazax.hun.
Herald added a project: clang.
The analsis on the throwing behvaiour on functions and statements gave only
a binary answer whether an exception could occur and if yes which types are
thrown.
This refactoring allows keeping track if there is a unknown factor, because the
code calls to some functions with unavailable source code with no `noexcept`
information.
This 'potential Unknown' information is propagated properly and can be queried
separately.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D57883
Files:
clang-tidy/bugprone/ExceptionEscapeCheck.cpp
clang-tidy/utils/ExceptionAnalyzer.cpp
clang-tidy/utils/ExceptionAnalyzer.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57883.185733.patch
Type: text/x-patch
Size: 18118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190207/671e29dd/attachment-0001.bin>
More information about the cfe-commits
mailing list