[clang-tools-extra] [clang-tidy] Add check 'bugprone-unsafe-to-allow-exceptions' (PR #176430)
Balázs Kéri via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 19 08:14:48 PST 2026
================
@@ -0,0 +1,31 @@
+.. title:: clang-tidy - bugprone-unsafe-to-allow-exceptions
+
+bugprone-unsafe-to-allow-exceptions
+===================================
+
+Finds functions where throwing exceptions is unsafe but the function is still
+marked as throwable. Throwing exceptions from the following functions can be
+problematic:
----------------
balazske wrote:
This text was just copied from the documentation of `exception-escape` check. There is a more detailed explanation, is it better to copy that too, or add a link to the other page?
https://github.com/llvm/llvm-project/pull/176430
More information about the cfe-commits
mailing list