[PATCH] D95736: [clang-tidy] Extend 'bugprone-easily-swappable-parameters' with `typedef` and `const &` diagnostics

Whisperity via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 17 05:30:32 PDT 2021


whisperity updated this revision to Diff 331242.
whisperity marked 4 inline comments as done.
whisperity added a comment.

- Made the diagnostic message about "binding power" easier to understand.


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

https://reviews.llvm.org/D95736

Files:
  clang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
  clang-tools-extra/docs/clang-tidy/checks/bugprone-easily-swappable-parameters.rst
  clang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-len2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95736.331242.patch
Type: text/x-patch
Size: 28675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210317/e89f5d14/attachment-0001.bin>


More information about the cfe-commits mailing list