[all-commits] [llvm/llvm-project] c1cff4: [libc++][Android] Rename user NS to User to avoid ...

Ryan Prichard via All-commits all-commits at lists.llvm.org
Tue Dec 6 17:30:32 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1cff4ee431c9fba816176ba8e919ca62040f079
      https://github.com/llvm/llvm-project/commit/c1cff4ee431c9fba816176ba8e919ca62040f079
  Author: Ryan Prichard <rprichard at google.com>
  Date:   2022-12-06 (Tue, 06 Dec 2022)

  Changed paths:
    M libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/lwg3629.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/lwg3629.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/lwg3629.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/lwg3629.pass.cpp

  Log Message:
  -----------
  [libc++][Android] Rename user NS to User to avoid conflict with struct

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.

Differential Revision: https://reviews.llvm.org/D139380




More information about the All-commits mailing list