[clang-tools-extra] [clang-tidy] Rename 'cert-err52-cpp' to 'modernize-avoid-setjmp-longjmp' (PR #159813)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 22 03:45:41 PDT 2025


================
@@ -0,0 +1,10 @@
+.. title:: clang-tidy - modernize-avoid-setjmp-longjmp
+
+modernize-avoid-setjmp-longjmp
+==============================
+
+Flags all call expressions involving ``setjmp()`` and ``longjmp()``.
+
----------------
vbvictor wrote:

One more sentence left:

"Exception handling with ``throw`` and ``catch`` should be used instead."

https://github.com/llvm/llvm-project/pull/159813


More information about the cfe-commits mailing list