[clang-tidy] Update the documentation of bugprone-use-after-move to clarify patterns are regexes (#174238)

This commit is contained in:
higher-performance 2026-01-05 14:54:24 +00:00 committed by GitHub
parent 316a9c52f0
commit d33cb522a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 regular expressions 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 regular expressions 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.