[clang-tools-extra] [clang-tidy] Add fine-graded configuration for 'bugprone-exception-escape' (PR #164081)
Victor Chernyakin via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 9 14:36:03 PST 2025
================
@@ -35,6 +35,31 @@ WARNING! This check may be expensive on large source files.
Options
-------
+.. option:: CheckDestructors
+
+ When `true`, destructors are analyzed to not throw exceptions.
+ Default value is `true`.
+
+.. option:: CheckMoveMemberFunctions
+
+ When `true`, move constructors and move assignment operators are analyzed
+ to not throw exceptions. Default value is `true`.
+
+.. option:: CheckMain
+
+ When `true`, ``main()`` function is analyzed to not throw exceptions.
----------------
localspook wrote:
```suggestion
When `true`, the ``main()`` function is analyzed to not throw exceptions.
```
https://github.com/llvm/llvm-project/pull/164081
More information about the cfe-commits
mailing list