[PATCH] D97297: [clang-tidy] Suppress reports to patternedly named parameters in 'bugprone-easily-swappable-parameters'

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 24 07:19:05 PST 2021


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/bugprone-easily-swappable-parameters.rst:89
+    warning about the two parameters are silenced.
+    Defaults to ``1``.
+    Might be any positive integer.
----------------
whisperity wrote:
> Eugene.Zelenko wrote:
> > Please use single back-ticks for option values. Same below.
> **All** values (including above the ``_Bool`` and such, or only the numeric constants? The ``LHS`` and ``RHS`` below are examples of source code, not a valid value for the option.
All option values.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97297/new/

https://reviews.llvm.org/D97297



More information about the cfe-commits mailing list