diff options
author | Jie Fu <jiefu@tencent.com> | 2023-04-21 11:59:38 +0800 |
---|---|---|
committer | Jie Fu <jiefu@tencent.com> | 2023-04-21 11:59:38 +0800 |
commit | c5fc7809e05940674424aaed7dd06c6be0639864 (patch) | |
tree | e946f576a8f548a9d6c7da2c43875510cab8520a /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 950e6979216a99fbe42a72b69137eeda1d5f99fc (diff) | |
download | llvm-c5fc7809e05940674424aaed7dd06c6be0639864.zip llvm-c5fc7809e05940674424aaed7dd06c6be0639864.tar.gz llvm-c5fc7809e05940674424aaed7dd06c6be0639864.tar.bz2 |
[lldb] Fix -Wctad-maybe-unsupported in PathMappingList.cpp (NFC)
/home/jiefu/llvm-project/lldb/source/Target/PathMappingList.cpp:51:5: error: 'scoped_lock' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
std::scoped_lock locks(m_mutex, rhs.m_mutex);
^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/mutex:692:11: note: add a deduction guide to suppress this warning
class scoped_lock
^
/home/jiefu/llvm-project/lldb/source/Target/PathMappingList.cpp:72:3: error: 'scoped_lock' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
std::scoped_lock locks(m_mutex, rhs.m_mutex);
^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/mutex:692:11: note: add a deduction guide to suppress this warning
class scoped_lock
^
2 errors generated.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions