[all-commits] [llvm/llvm-project] 6d1543: [libc] Add explicit casts for string functions

Alex Brachet via All-commits all-commits at lists.llvm.org
Mon Jun 13 14:08:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d1543a16797fa07eecea7e542df5b42422fc721
      https://github.com/llvm/llvm-project/commit/6d1543a16797fa07eecea7e542df5b42422fc721
  Author: Alex Brachet <abrachet at google.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M libc/src/string/memchr.cpp
    M libc/src/string/memory_utils/elements_x86.h
    M libc/src/string/memrchr.cpp
    M libc/src/string/strchr.cpp
    M libc/src/string/strrchr.cpp

  Log Message:
  -----------
  [libc] Add explicit casts for string functions

This fixes warnings from `-Wimplicit-int-conversion`

Differential revision: https://reviews.llvm.org/D127694




More information about the All-commits mailing list