[all-commits] [llvm/llvm-project] ea8034: [libc][NFC] change isblank and iscntrl from implic...

michaelrj-google via All-commits all-commits at lists.llvm.org
Wed Jan 13 14:11:22 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ea8034ec35a9e3d6784d7e6f50617af3d87f6a9f
      https://github.com/llvm/llvm-project/commit/ea8034ec35a9e3d6784d7e6f50617af3d87f6a9f
  Author: Michael Jones <michaelrj at google.com>
  Date:   2021-01-13 (Wed, 13 Jan 2021)

  Changed paths:
    M libc/src/ctype/isblank.cpp
    M libc/src/ctype/iscntrl.cpp

  Log Message:
  -----------
  [libc][NFC] change isblank and iscntrl from implicit casting

isblank and iscntrl were casting an int to a char implicitly and this
was throwing errors under Fuchsia. I've added a static cast to resolve
this issue.

Reviewed By: sivachandra

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




More information about the All-commits mailing list