[all-commits] [llvm/llvm-project] 3bef90: [Diagnostic] Warn if the size argument of memset i...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Sun May 15 19:07:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bef90dff64fc717c5d5e33a4d5fb47a4566d04a
      https://github.com/llvm/llvm-project/commit/3bef90dff64fc717c5d5e33a4d5fb47a4566d04a
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/Sema/transpose-memset.c

  Log Message:
  -----------
  [Diagnostic] Warn if the size argument of memset is character literal
zero

Closing https://github.com/llvm/llvm-project/issues/55402

Reviewed By: efriedma

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




More information about the All-commits mailing list