[all-commits] [llvm/llvm-project] cc2445: [libc] Fix wrapper headers for some ctype macros a...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Sep 28 08:00:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc2445589d75c737ddf636ec1f1008b34939bfb7
      https://github.com/llvm/llvm-project/commit/cc2445589d75c737ddf636ec1f1008b34939bfb7
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M clang/lib/Headers/llvm_libc_wrappers/ctype.h
    M libc/config/gpu/entrypoints.txt
    M libc/docs/gpu/support.rst

  Log Message:
  -----------
  [libc] Fix wrapper headers for some ctype macros and C++ decls

Summary:
These wrapper headers need to work around things in the standard
headers. The existing workarounds didn't correctly handle the macros for
`iscascii` and `toascii`. Additionally, `memrchr` can't be used because
it has a different declaration for C++ mode. Fix this so it can be
compiled.




More information about the All-commits mailing list