[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:41:03 PST 2022


rprichard created this revision.
rprichard added a reviewer: danalbert.
Herald added a subscriber: danielkiss.
Herald added a project: All.
rprichard requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Bionic's sys/user.h declares a "struct user". The header tends to be
included, and when it is, it conflicts with "namespace user". Rename
user to User.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139380

Files:
  libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/lwg3629.pass.cpp
  libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/lwg3629.pass.cpp
  libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/lwg3629.pass.cpp
  libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/lwg3629.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139380.480281.patch
Type: text/x-patch
Size: 3818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221206/3878ea47/attachment-0001.bin>


More information about the libcxx-commits mailing list