[all-commits] [llvm/llvm-project] 5f41ca: [clang-tidy] More strict on matching the standard ...

Haojian Wu via All-commits all-commits at lists.llvm.org
Fri Jul 10 02:42:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f41ca48d1c46fc78958d47c0edfb2dbcde47217
      https://github.com/llvm/llvm-project/commit/5f41ca48d1c46fc78958d47c0edfb2dbcde47217
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-memset-usage.cpp

  Log Message:
  -----------
  [clang-tidy] More strict on matching the standard memset function in memset-usage check.

The check assumed the matched function call has 3 arguments, but the
matcher didn't guaranteed that.

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




More information about the All-commits mailing list