[clang-tools-extra] [clang-tidy][NFC][doc] improve "options" sections of `bugprone-` and `modernize-` checks (PR #133525)
Carlos Galvez via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 30 04:57:06 PDT 2025
================
@@ -163,7 +163,11 @@ Options
Semicolon-separated list of containers without their template parameters
and some ``emplace``-like method of the container. Example:
``vector::emplace_back``. Those methods will be checked for improper use and
- the check will report when a temporary is unnecessarily created.
+ the check will report when a temporary is unnecessarily created. Default
----------------
carlosgalvezp wrote:
Yeah that can create some unnecessary maintenance work. Maybe we don't need to write it out explicitly, but simply say "all STL containers with such a member function are supported by default".
https://github.com/llvm/llvm-project/pull/133525
More information about the cfe-commits
mailing list