[all-commits] [llvm/llvm-project] 05d9cc: [libc][NFC] Replace "inline" keyword with "LIBC_IN...

Siva Chandra via All-commits all-commits at lists.llvm.org
Tue Jan 24 11:35:50 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05d9cc4799ca0c1390ec1fdc20defbbb51985d50
      https://github.com/llvm/llvm-project/commit/05d9cc4799ca0c1390ec1fdc20defbbb51985d50
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M libc/docs/code_style.rst
    M libc/src/__support/CPP/CMakeLists.txt
    M libc/src/__support/CPP/new.h
    M libc/src/__support/CPP/string_view.h
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/NormalFloat.h
    M libc/src/__support/FPUtil/double_double.h
    M libc/src/__support/OSUtil/linux/aarch64/syscall.h
    M libc/src/__support/OSUtil/linux/arm/syscall.h
    M libc/src/__support/OSUtil/linux/x86_64/syscall.h
    M libc/src/__support/builtin_wrappers.h
    M libc/src/__support/endian.h
    M libc/src/stdio/printf_core/CMakeLists.txt
    M libc/src/stdio/printf_core/float_dec_converter.h
    M libc/src/stdio/printf_core/float_hex_converter.h
    M libc/src/stdio/printf_core/float_inf_nan_converter.h
    M libc/src/stdio/printf_core/int_converter.h
    M libc/src/stdio/printf_core/ptr_converter.h
    M libc/src/sys/stat/linux/CMakeLists.txt
    M libc/src/sys/stat/linux/kernel_statx.h
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [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




More information about the All-commits mailing list