[all-commits] [llvm/llvm-project] 3992e3: [libc++][NFC] Mark random_device::__padding_ as [[...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Sat Jun 27 09:16:00 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3992e3027a901fcbf75f466e2240df3335aa9831
      https://github.com/llvm/llvm-project/commit/3992e3027a901fcbf75f466e2240df3335aa9831
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-06-27 (Sat, 27 Jun 2026)

  Changed paths:
    M libcxx/include/__random/random_device.h

  Log Message:
  -----------
  [libc++][NFC] Mark random_device::__padding_ as [[maybe_unused]] (#206248)

Instead of pushing and popping warnings we can just mark the offending
member as `[[maybe_unused]]`, improving compile times a bit and
simplifying the code.



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