[libcxx-commits] [PATCH] D139380: [libc++][Android] Rename user NS to User to avoid conflict with struct

Ryan Prichard via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 5 16:50:58 PST 2022


rprichard added a comment.

The capitalized `namespace User` spelling was already used in libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp (D72640 <https://reviews.llvm.org/D72640>).

In NDK r25b, including `<system_error>` includes sys/user.h via this chain:

  /usr/include/c++/v1/system_error
  /usr/include/c++/v1/stdexcept
  /usr/include/c++/v1/iosfwd
  /usr/include/c++/v1/wchar.h
  /usr/local/include/wchar.h
  /usr/include/wchar.h
  /usr/include/time.h
  /usr/include/sys/time.h
  /usr/include/sys/select.h
  /usr/include/signal.h
  /usr/include/sys/ucontext.h
  /usr/include/sys/user.h


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139380



More information about the libcxx-commits mailing list