================
@@ -1,6 +1,6 @@
-.. title:: clang-tidy - hicpp-exception-baseclass
+.. title:: clang-tidy - bugprone-exception-baseclass
 
-hicpp-exception-baseclass
+bugprone-exception-baseclass
 =========================
 
 Ensure that every value that in a ``throw`` expression is an instance of
----------------
IamYJLee wrote:

```rst
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.
```

What do you think about it?

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