[all-commits] [llvm/llvm-project] 897402: [clang-tidy] Correct typo in bugprone-easily-swapp...

Salman Javed via All-commits all-commits at lists.llvm.org
Wed Oct 27 02:40:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 897402e95988d41d7be88075f80a35ecdbc10d52
      https://github.com/llvm/llvm-project/commit/897402e95988d41d7be88075f80a35ecdbc10d52
  Author: Salman Javed <mail at salmanjaved.org>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
    A clang-tools-extra/test/clang-tidy/checkers/bugprone-easily-swappable-parameters-ignore-default.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list