================
@@ -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:
----------------
NagyDonat wrote:

That "more detailed explanation" is still just one paragraph, os I think it 
would be more user-friendly to copy it here (instead of forcing the user to 
click a link).

Perhaps you could add RST comments (invisible in the rendered output, just for 
those who edit the RST file) at both locations to mark that the content is 
duplicated and should be kept in sync.

Also, the documentations of these two checks should link to each other, because 
they are complements of each other.

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

Reply via email to