[all-commits] [llvm/llvm-project] 9b8a64: [libc] add noexcept to external function headers

michaelrj-google via All-commits all-commits at lists.llvm.org
Fri Jan 6 11:43:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b8a64b88dbcb3e881b5b659e91ba6b99245744d
      https://github.com/llvm/llvm-project/commit/9b8a64b88dbcb3e881b5b659e91ba6b99245744d
  Author: Michael Jones <michaelrj at google.com>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M libc/config/linux/api.td
    M libc/include/__llvm-libc-common.h
    M libc/test/src/time/gmtime_test.cpp
    M libc/test/src/time/mktime_test.cpp
    M libc/utils/HdrGen/PrototypeTestGen/PrototypeTestGen.cpp
    M libc/utils/HdrGen/PublicAPICommand.cpp

  Log Message:
  -----------
  [libc] add noexcept to external function headers

To improve code generation for C++ code that directly includes our
headers, the external function definitions will now be marked noexcept.
This may not be necessary for the internal definitions since we build
with the -fno-exceptions flag.

Reviewed By: sivachandra

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




More information about the All-commits mailing list