[clang-tools-extra] [clang-tidy] Added bugprone-exception-rethrow check (PR #86448)

via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 28 14:35:17 PDT 2024


================
@@ -0,0 +1,103 @@
+// RUN: %check_clang_tidy %s bugprone-exception-rethrow %t -- -- -fexceptions
+
+struct exception {};
+
+namespace std {
----------------
isuckatcs wrote:

For the static analyzer we have `system-header-simulator-cxx.h`, maybe clang-tidy would also benefit from a similar header.

https://github.com/llvm/llvm-project/pull/86448


More information about the cfe-commits mailing list