[libcxx-commits] [PATCH] D115906: [libc++] Add a bunch of missing inline and _LIBCPP_HIDE_FROM_ABI in __threading_support
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Dec 16 14:01:27 PST 2021
ldionne created this revision.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D115906
Files:
libcxx/include/__threading_support
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115906.394990.patch
Type: text/x-patch
Size: 9561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211216/5ea0e2cf/attachment-0001.bin>
More information about the libcxx-commits
mailing list