[clang-tidy] Correct typo in bugprone-easily-swappable-parameters
authorSalman Javed <mail@salmanjaved.org>
Wed, 27 Oct 2021 09:38:52 +0000 (22:38 +1300)
committerSalman Javed <mail@salmanjaved.org>
Wed, 27 Oct 2021 09:38:52 +0000 (22:38 +1300)
commit897402e95988d41d7be88075f80a35ecdbc10d52
tree8b7528ff3dd7af7a2bd16511677380dbbb264198
parentf5158ca48c260dd29136ab19ba8573226f087fb3
[clang-tidy] Correct typo in bugprone-easily-swappable-parameters

The string table `DefaultIgnoredParameterTypeSuffixes` has a typo:
`ForwardIt` is mistyped as `FowardIt`.

Correct typo and add test coverage.

Differential Revision: https://reviews.llvm.org/D112596
clang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-ignore-default.cpp [new file with mode: 0644]