[all-commits] [llvm/llvm-project] 63af85: [libc++] Only forward-declare ABI-functions in exc...

itrofimow via All-commits all-commits at lists.llvm.org
Mon Mar 11 07:59:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63af8584fc7ea81ef6f2176e0ada0533a3495745
      https://github.com/llvm/llvm-project/commit/63af8584fc7ea81ef6f2176e0ada0533a3495745
  Author: itrofimow <i.trofimow at yandex.ru>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M libcxx/include/__exception/exception_ptr.h

  Log Message:
  -----------
  [libc++] Only forward-declare ABI-functions in exception_ptr.h if they are meant to be used (#84707)

This patch fixes the unconditional forward-declarations of ABI-functions
in exception_ptr.h, and makes it dependent on the availability macro, as
it should've been from the beginning.

The declarations being unconditional break the build with libcxxrt
before 045c52ce8 [1], now they are opt-out.

[1]: https://github.com/libcxxrt/libcxxrt/commit/045c52ce821388f4ae4d119fe4fb75f1eb547b85



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