[all-commits] [llvm/llvm-project] 157f6f: [compiler-rt][builtins] Enable more warnings in ad...

Akira Hatanaka via All-commits all-commits at lists.llvm.org
Wed Sep 14 12:57:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 157f6fc8ecf633f522e078536f6ac0935e755cec
      https://github.com/llvm/llvm-project/commit/157f6fc8ecf633f522e078536f6ac0935e755cec
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   2022-09-14 (Wed, 14 Sep 2022)

  Changed paths:
    M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  -----------
  [compiler-rt][builtins] Enable more warnings in add_security_warnings

Enable -Wsizeof-array-div and -Wsizeof-pointer-divcompiler.

Also, replace -Wmemset-transposed-args with -Wsuspicious-memaccess. The
latter automatically enables the former and a few other warnings.

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




More information about the All-commits mailing list