[all-commits] [llvm/llvm-project] 10e7b4: [libc][NFC] Fix some issues with LIBC_INLINE

Alex Brachet via All-commits all-commits at lists.llvm.org
Wed Jun 14 07:09:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10e7b451ada5ff87adb2e04cc6a21b5305e90b12
      https://github.com/llvm/llvm-project/commit/10e7b451ada5ff87adb2e04cc6a21b5305e90b12
  Author: Alex Brachet <abrachet at google.com>
  Date:   2023-06-14 (Wed, 14 Jun 2023)

  Changed paths:
    M libc/src/string/memory_utils/op_generic.h
    M libc/src/string/memory_utils/op_x86.h

  Log Message:
  -----------
  [libc][NFC] Fix some issues with LIBC_INLINE

We define LIBC_INLINE to include [[clang::internal_linkage]], and these
must appear before other specifiers. Additionally, there was also a
missing cast that was causing warnings.

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




More information about the All-commits mailing list