[all-commits] [llvm/llvm-project] df69a3: [Headers] Don't declare unreachable() from stddef....

Ian Anderson via All-commits all-commits at lists.llvm.org
Thu Apr 4 13:02:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df69a305253f1d1b4a4066055a07101a4cc03e55
      https://github.com/llvm/llvm-project/commit/df69a305253f1d1b4a4066055a07101a4cc03e55
  Author: Ian Anderson <iana at apple.com>
  Date:   2024-04-04 (Thu, 04 Apr 2024)

  Changed paths:
    M clang/lib/Headers/__stddef_unreachable.h

  Log Message:
  -----------
  [Headers] Don't declare unreachable() from stddef.h in C++ (#86748)

Even if __need_unreachable is set, stddef.h should not declare
unreachable() in C++ because it conflicts with the declaration in
\<utility>.



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