[clang-tools-extra] [clang-tidy] Rename hicpp-exception-baseclass to bugprone-exception-baseclass (PR #183474)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 10 18:07:09 PDT 2026
================
@@ -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``.
----------------
IamYJLee wrote:
Thanks for your feedback. 👍
I’ve addressed it.
https://github.com/llvm/llvm-project/pull/183474
More information about the cfe-commits
mailing list