[all-commits] [llvm/llvm-project] 2722ac: [libc++] Add a bunch of missing inline and _LIBCPP...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Dec 17 09:02:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2722ac65f6d50a571eaf8ffd65efdcb449e20c7d
      https://github.com/llvm/llvm-project/commit/2722ac65f6d50a571eaf8ffd65efdcb449e20c7d
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M libcxx/include/__threading_support

  Log Message:
  -----------
  [libc++] Add a bunch of missing inline and _LIBCPP_HIDE_FROM_ABI in __threading_support

The inline keyword is required on those functions because they are defined
in the headers, so we need them to be inline to avoid ODR violations.
While we're at it, slap _LIBCPP_HIDE_FROM_ABI on them because they are
implementation details and we don't want them to be part of our ABI under
any circumstances.

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




More information about the All-commits mailing list