[libc][NFC] Replace "inline" keyword with "LIBC_INLINE".
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 24 Jan 2023 07:10:06 +0000 (07:10 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 24 Jan 2023 19:35:34 +0000 (19:35 +0000)
commit05d9cc4799ca0c1390ec1fdc20defbbb51985d50
treef8e342e5f9dbf6a4c256322cf367d5da88373af1
parent7cf63ee80c7588fba543136ab67d38172aedf5ed
[libc][NFC] Replace "inline" keyword with "LIBC_INLINE".

This is the first of patches doing similar cleanup. A section in the
code style doc has been added explaining where and how LIBC_INLINE is to
be used.

Reviewed By: jeffbailey, lntue

Differential Revision: https://reviews.llvm.org/D142434
21 files changed:
libc/docs/code_style.rst
libc/src/__support/CPP/CMakeLists.txt
libc/src/__support/CPP/new.h
libc/src/__support/CPP/string_view.h
libc/src/__support/FPUtil/CMakeLists.txt
libc/src/__support/FPUtil/NormalFloat.h
libc/src/__support/FPUtil/double_double.h
libc/src/__support/OSUtil/linux/aarch64/syscall.h
libc/src/__support/OSUtil/linux/arm/syscall.h
libc/src/__support/OSUtil/linux/x86_64/syscall.h
libc/src/__support/builtin_wrappers.h
libc/src/__support/endian.h
libc/src/stdio/printf_core/CMakeLists.txt
libc/src/stdio/printf_core/float_dec_converter.h
libc/src/stdio/printf_core/float_hex_converter.h
libc/src/stdio/printf_core/float_inf_nan_converter.h
libc/src/stdio/printf_core/int_converter.h
libc/src/stdio/printf_core/ptr_converter.h
libc/src/sys/stat/linux/CMakeLists.txt
libc/src/sys/stat/linux/kernel_statx.h
utils/bazel/llvm-project-overlay/libc/BUILD.bazel