[libcxx-commits] [PATCH] D118851: [SystemZ]:[z/OS]:[libcxx]: fix isascii function to work for z/OS
Sean via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 3 09:12:44 PST 2022
SeanP added inline comments.
================
Comment at: libcxx/include/__locale:571
+ static bool isbasic(char_type __c)
+ {
----------------
Rather than making this a static member function, I suggest creating an anonymous namespace outside the class and putting the function in there and as an inline function. You can then get rid of the duplicate definition in the other class.
I suspect to that for MVS we need to have one check for EBCDIC ([0,255]) and another for ASCII ([0,127]).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118851/new/
https://reviews.llvm.org/D118851
More information about the libcxx-commits
mailing list