[libc-commits] [PATCH] D142154: [libc][NFC] Replace static inline and inline annotations with LIBC_INLINE.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jan 19 12:45:07 PST 2023


sivachandra created this revision.
sivachandra added reviewers: lntue, michaelrj.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.

This is first of a few patches which will do similar mechanical changes.

LIBC_INLINE is a simple macro which is default defined as just `inline`.
The idea is that, different downstream contexts can define the macro as
suitable to their use case and context. For example, one can choose to
define LIBC_INLINE as `[[clang::internal_linkage]] inline`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142154

Files:
  libc/src/__support/CMakeLists.txt
  libc/src/__support/CPP/bitset.h
  libc/src/__support/FPUtil/BasicOperations.h
  libc/src/__support/FPUtil/CMakeLists.txt
  libc/src/__support/FPUtil/DivisionAndRemainderOperations.h
  libc/src/__support/FPUtil/FEnvImpl.h
  libc/src/__support/FPUtil/FMA.h
  libc/src/__support/FPUtil/Hypot.h
  libc/src/__support/FPUtil/ManipulationFunctions.h
  libc/src/__support/FPUtil/NearestIntegerOperations.h
  libc/src/__support/FPUtil/PolyEval.h
  libc/src/__support/FPUtil/aarch64/FEnvImpl.h
  libc/src/__support/FPUtil/aarch64/fenv_darwin_impl.h
  libc/src/__support/FPUtil/aarch64/nearest_integer.h
  libc/src/__support/FPUtil/generic/FMA.h
  libc/src/__support/FPUtil/generic/FMod.h
  libc/src/__support/FPUtil/generic/sqrt.h
  libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
  libc/src/__support/FPUtil/multiply_add.h
  libc/src/__support/FPUtil/nearest_integer.h
  libc/src/__support/FPUtil/x86_64/FEnvImpl.h
  libc/src/__support/FPUtil/x86_64/FMA.h
  libc/src/__support/FPUtil/x86_64/NextAfterLongDouble.h
  libc/src/__support/FPUtil/x86_64/nearest_integer.h
  libc/src/__support/OSUtil/linux/io.h
  libc/src/__support/OSUtil/linux/quick_exit.h
  libc/src/__support/builtin_wrappers.h
  libc/src/__support/common.h
  libc/src/__support/detailed_powers_of_ten.h
  libc/src/__support/float_to_string.h
  libc/src/__support/str_to_float.h
  libc/src/__support/str_to_integer.h
  libc/src/__support/threads/linux/CMakeLists.txt
  libc/src/__support/threads/linux/thread.cpp
  libc/src/string/memory_utils/bcmp_implementations.h
  libc/src/string/memory_utils/memcmp_implementations.h
  libc/src/string/memory_utils/memcpy_implementations.h
  libc/src/string/memory_utils/memmove_implementations.h
  libc/src/string/memory_utils/op_aarch64.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142154.490634.patch
Type: text/x-patch
Size: 66194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230119/c2b240ed/attachment-0001.bin>


More information about the libc-commits mailing list