[libc-commits] [PATCH] D85270: [libc] Add isspace, isprint, isxdigit implementations.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Aug 4 23:15:02 PDT 2020


sivachandra accepted this revision.
sivachandra added inline comments.
This revision is now accepted and ready to land.


================
Comment at: libc/src/ctype/isprint.cpp:19
+  const unsigned ch = c;
+  return (ch - ' ') < '_';
+}
----------------
Use 95 instead of `'_'`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85270/new/

https://reviews.llvm.org/D85270



More information about the libc-commits mailing list