[clang] [clang-tools-extra] [clang-tidy] Add support for use-after-suspend to bugprone-use-after-move (PR #172566)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 8 12:32:33 PST 2026


================
@@ -271,3 +297,17 @@ Options
   argument (``*this``) is considered to be reinitialized. For non-member or
   static member functions, the first argument is considered to be
   reinitialized. Default value is an empty string.
+
+.. option:: Awaitables
----------------
higher-performance wrote:

It's already as precise as can be -- "the operands to ``co_await``". Note that this is _not_ intended to be the same notion of "awaitable" as you see on cppreference, because that one comes after `await_transform` is implicitly called on the operand, not before.

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


More information about the cfe-commits mailing list