diff options
author | Haowei <haowei@google.com> | 2024-06-14 09:37:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 12:37:26 -0400 |
commit | 8b9dce333f71bc21b3534e89a41e1ea8672aa063 (patch) | |
tree | 6efacb7624eb731163dfbd1bb3baca8d070a598b /llvm/lib/MC/MCCodeView.cpp | |
parent | c0cba5198155dba246ddd5764f57595d9bbbddef (diff) | |
download | llvm-8b9dce333f71bc21b3534e89a41e1ea8672aa063.zip llvm-8b9dce333f71bc21b3534e89a41e1ea8672aa063.tar.gz llvm-8b9dce333f71bc21b3534e89a41e1ea8672aa063.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/MC/MCCodeView.cpp')
0 files changed, 0 insertions, 0 deletions