[all-commits] [llvm/llvm-project] daac01: [clang-tidy] Check functions called from catch blocks
Deniz Evrenci via All-commits
all-commits at lists.llvm.org
Sun Jun 11 08:41:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: daac014fec427eda305f93da7891c0122a161bb3
https://github.com/llvm/llvm-project/commit/daac014fec427eda305f93da7891c0122a161bb3
Author: Deniz Evrenci <denizevrenci at gmail.com>
Date: 2023-06-11 (Sun, 11 Jun 2023)
Changed paths:
M clang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.cpp
M clang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.h
M clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape-coro.cpp
A clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape-rethrow.cpp
Log Message:
-----------
[clang-tidy] Check functions called from catch blocks
These functions can rethrow a current exception that is caught by the
catch block. We can pass the currently caught excections to the function
declaration analyzer just like the statement analyzer to handle this
case.
Differential Revision: https://reviews.llvm.org/D152330
More information about the All-commits
mailing list