[all-commits] [llvm/llvm-project] 3af87d: [libc] Remove asm-generic includes from tests (#11...

Michael Jones via All-commits all-commits at lists.llvm.org
Thu Oct 31 15:57:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3af87d4c5709fb7498e5adf75ec07e6528b14e1a
      https://github.com/llvm/llvm-project/commit/3af87d4c5709fb7498e5adf75ec07e6528b14e1a
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-10-31 (Thu, 31 Oct 2024)

  Changed paths:
    M libc/test/src/search/hsearch_test.cpp
    M libc/test/src/sys/mman/linux/mlock_test.cpp

  Log Message:
  -----------
  [libc] Remove asm-generic includes from tests (#114479)

We shouldn't be including headers directly from asm-generic for macros.
It's safer to get those through the correct primary header where
possible (e.g. fcntl instead of asm-generic/fcntl).

For our public headers we may need to include the asm-generic
headers instead of defining all the macros ourselves, but that's
something for a followup PR.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list