https://github.com/higher-performance created 
https://github.com/llvm/llvm-project/pull/174238

Addresses #174229 for this tidy.

>From d92e01d218216520f595b78c709753233feae6ea Mon Sep 17 00:00:00 2001
From: higher-performance <[email protected]>
Date: Fri, 2 Jan 2026 19:40:36 +0000
Subject: [PATCH] [clang-tidy] Update the documentation of
 bugprone-use-after-move to clarify patterns are regexes

---
 .../clang-tidy/checks/bugprone/use-after-move.rst  | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/clang-tools-extra/docs/clang-tidy/checks/bugprone/use-after-move.rst 
b/clang-tools-extra/docs/clang-tidy/checks/bugprone/use-after-move.rst
index 95a752e9399a9..e58f0eccd0b59 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/bugprone/use-after-move.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone/use-after-move.rst
@@ -259,15 +259,15 @@ Options
 
 .. option:: InvalidationFunctions
 
-  A semicolon-separated list of names of functions that cause their first
-  arguments to be invalidated (e.g., closing a handle).
+  A semicolon-separated list of regexes matching names of functions that cause
+  their first arguments to be invalidated (e.g., closing a handle).
   For member functions, the first argument is considered to be the implicit
   object argument (``this``). Default value is an empty string.
 
 .. option:: ReinitializationFunctions
 
-  A semicolon-separated list of names of functions that reinitialize the
-  object. For member functions, the implicit object 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.
+  A semicolon-separated list of regexes matching names of functions that
+  reinitialize the object. For member functions, the implicit object 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.

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to