[all-commits] [llvm/llvm-project] d386a5: [libc] Make static_assert available even if NDEBUG...

Petr Hosek via All-commits all-commits at lists.llvm.org
Sat Jul 20 00:57:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d386a5582b286bbd8a52f2fd3dbc5c8f70a8f60d
      https://github.com/llvm/llvm-project/commit/d386a5582b286bbd8a52f2fd3dbc5c8f70a8f60d
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
    M libc/include/assert.h.def

  Log Message:
  -----------
  [libc] Make static_assert available even if NDEBUG is set (#99742)

This addresses an issue introduced in #98826 where static_assert was
made defined only when NDEBUG is not set which is different from all
other C libraries and breaks any code that uses static_assert and
doesn't guard it with NDEBUG.



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