[all-commits] [llvm/llvm-project] 16ffd2: [libcxx][NFC] Address -Wmicrosoft-cast in MSVC's e...

Petr Hosek via All-commits all-commits at lists.llvm.org
Sun Jul 19 17:47:23 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16ffd27e3737c01cbabad6eed77b919dc977ad6c
      https://github.com/llvm/llvm-project/commit/16ffd27e3737c01cbabad6eed77b919dc977ad6c
  Author: Petr Hosek <phosek at google.com>
  Date:   2026-07-19 (Sun, 19 Jul 2026)

  Changed paths:
    M libcxx/src/support/runtime/exception_pointer_msvc.ipp

  Log Message:
  -----------
  [libcxx][NFC] Address -Wmicrosoft-cast in MSVC's exception_ptr (#210570)

This was introduced as part of #94977. Rather than suppressing the
warning with `#pragma clang diagnostic ignored`, we use
`reinterpret_cast` to avoid the implicit conversion.



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