[clang-tools-extra] [clang-tidy] Add check to diagnose coroutine-hostile RAII objects (PR #68738)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 17 08:33:55 PDT 2023


================
@@ -0,0 +1,49 @@
+.. title:: clang-tidy - misc-coroutine-hostile-raii
+
+misc-coroutine-hostile-raii
+====================
+
+This check detects hostile-RAII objects which should not persist across a 
----------------
PiotrZSL wrote:

this should start with: "Detects when objects of certain hostile RAII types persists across suspension points in a coroutine.
  Such hostile types include scoped-lockable types and types belonging to a configurable denylist."

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


More information about the cfe-commits mailing list