[all-commits] [llvm/llvm-project] f2f920: [clang-tidy] Simplify inaccurate erase check

Stephen Kelly via All-commits all-commits at lists.llvm.org
Sat Feb 13 05:52:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2f920b987f3810863b9d0160cbb52df3fa2ab6f
      https://github.com/llvm/llvm-project/commit/f2f920b987f3810863b9d0160cbb52df3fa2ab6f
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/InaccurateEraseCheck.h
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-inaccurate-erase.cpp

  Log Message:
  -----------
  [clang-tidy] Simplify inaccurate erase check

The normalization of matchers means that this now works in all language
modes.

Differential Revision: https://reviews.llvm.org/D96139




More information about the All-commits mailing list