[clang-tools-extra] [clang-tidy] Add options to throw unannotated functions in `bugprone-exception-escape` (PR #168324)

via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 17 07:40:46 PST 2025


================
@@ -328,7 +328,11 @@ Changes in existing checks
   where the check wouldn't diagnose throws in arguments to functions or
   constructors. Added fine-grained configuration via options
   `CheckDestructors`, `CheckMoveMemberFunctions`, `CheckMain`,
-  `CheckedSwapFunctions`, and `CheckNothrowFunctions`.
+  `CheckedSwapFunctions`, and `CheckNothrowFunctions`; and added
+  ``KnownUnannotatedAsThrowing`` and ``UnknownAsThrowing`` to support
----------------
EugeneZelenko wrote:

```suggestion
  `KnownUnannotatedAsThrowing` and `UnknownAsThrowing` to support
```

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


More information about the cfe-commits mailing list