[all-commits] [llvm/llvm-project] 508084: [LIBC][NFC] Rename errno and assert files to match...

michaelrj-google via All-commits all-commits at lists.llvm.org
Tue Nov 3 13:29:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5080840d280d4adaab93a88fa6033849f0589737
      https://github.com/llvm/llvm-project/commit/5080840d280d4adaab93a88fa6033849f0589737
  Author: Michael Jones <michaelrj at google.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M libc/src/assert/CMakeLists.txt
    M libc/src/assert/__assert_fail.cpp
    A libc/src/assert/__assert_fail.h
    M libc/src/assert/assert.h
    M libc/src/errno/CMakeLists.txt
    A libc/src/errno/__errno_location.cpp
    A libc/src/errno/__errno_location.h
    R libc/src/errno/errno_location.cpp
    M libc/src/errno/llvmlibc_errno.h

  Log Message:
  -----------
  [LIBC][NFC] Rename errno and assert files to match other files with functions

Rename the files containing the `__errno_location` function
to `__errno_location.h/cpp` to match the other files and move
the `llvmlibc_errno` macro to its own file.

Split assert.h into `__assert_fail.h` (contains the function prototype)
and assert.h (contains the assert macro).

Reviewed By: sivachandra

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




More information about the All-commits mailing list