================
@@ -71,3 +71,23 @@ Options
 
    Comma separated list containing type names which are not counted as thrown
    exceptions in the check. Default value is an empty string.
+
+.. option:: TreatFunctionsWithoutSpecificationAsThrowing
+
+   Determines which functions are considered as throwing if they do not have
+   an explicit exception specification. It can be set to the following values:
+
+   - `None`
+      The check will not consider functions without explicitly declared 
exception
+      specification as throwing, unless they have a body which is visible to 
the
+      check and the check can deduce that the function throws.
+   - `OnlyUndefined`
+      The check will consider functions without visible definitions as 
throwing.
+   - `All`
+      The check will consider functions without visible definitions as 
throwing,
----------------
zeyi2 wrote:

Thanks for the suggestion! I've updated the documentation (with a bit help from 
LLM since I'm not a native speaker). Hopefully it's clearer now.

https://github.com/llvm/llvm-project/pull/168324
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to