[PATCH] D106361: [clang-tidy] Fix crash and handle AttributedTypes in 'bugprone-easily-swappable-parameters'

Whisperity via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 20 14:17:52 PDT 2021


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

- Remove orthogonal/half-baked changes.
- Fix a mistake in the logic changing only a temporary state.
- Add a missing //FIXME//.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106361

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106361.360269.patch
Type: text/x-patch
Size: 12547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210720/1a7c7606/attachment-0001.bin>


More information about the cfe-commits mailing list