[all-commits] [llvm/llvm-project] 8b9dce: [libc++] Add default copy ctor to "__chrono/except...

Haowei via All-commits all-commits at lists.llvm.org
Fri Jun 14 09:37:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b9dce333f71bc21b3534e89a41e1ea8672aa063
      https://github.com/llvm/llvm-project/commit/8b9dce333f71bc21b3534e89a41e1ea8672aa063
  Author: Haowei <haowei at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M libcxx/include/__chrono/exception.h

  Log Message:
  -----------
  [libc++] Add default copy ctor to "__chrono/exception.h" (#95338)

After PR#90394, "__chrono/exception.h" will trigger
"deprecated-copy-with-user-provided-dtor" warning on Windows x64 runtime
testing with ToT Clang. This patch addresses this issue by explicitly
adding those default copy ctors.

It is a bit weird that the same warning will not happen when testing on
Linux x64 under the same condition, despite the warning flag was enabled
(with `-Wdeprecated-copy -Wdeprecated-copy-dtor`). It might be a bug.



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