================
@@ -0,0 +1,31 @@
+.. title:: clang-tidy - bugprone-std-exception-baseclass
+
+bugprone-std-exception-baseclass
+================================
+
+Ensure that every value that in a ``throw`` expression is an instance of
+``std::exception``.
+
+Exception types should inherit from ``std::exception`` so they can be
+handled consistently and caught as ``std::exception``.
+Exception objects exist to propagate error information
+and must not be created without being thrown.
----------------
vbvictor wrote:

This is not what this check about. It is enforced by 
https://clang.llvm.org/extra/clang-tidy/checks/bugprone/throw-keyword-missing.html

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

Reply via email to