[libc-commits] [PATCH] D106902: [libc] Add explicit casts to ctype functions

Alf via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jul 27 11:47:22 PDT 2021


gAlfonso-bit created this revision.
gAlfonso-bit added reviewers: LLVM, libc-project.
gAlfonso-bit added projects: LLVM, libc-project.
Herald added subscribers: libc-commits, ecnelises, tschuett.
gAlfonso-bit requested review of this revision.

This was originally going to be part of another diff, but upon further review, it makes sense to put this in its own diff.

These changes were made for consistency and because explicit casts are important in such an extremely important library.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106902

Files:
  libc/src/ctype/ctype_utils.h
  libc/src/ctype/isalnum.cpp
  libc/src/ctype/isalpha.cpp
  libc/src/ctype/isblank.cpp
  libc/src/ctype/iscntrl.cpp
  libc/src/ctype/isdigit.cpp
  libc/src/ctype/isgraph.cpp
  libc/src/ctype/islower.cpp
  libc/src/ctype/isprint.cpp
  libc/src/ctype/ispunct.cpp
  libc/src/ctype/isspace.cpp
  libc/src/ctype/isupper.cpp
  libc/src/ctype/isxdigit.cpp
  libc/src/ctype/tolower.cpp
  libc/src/ctype/toupper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106902.362122.patch
Type: text/x-patch
Size: 8084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210727/d0e8c406/attachment-0001.bin>


More information about the libc-commits mailing list