https://github.com/hjyamauchi closed
https://github.com/llvm/llvm-project/pull/84362
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -168,8 +168,8 @@ class ConstString {
// Implicitly convert \class ConstString instances to \class StringRef.
operator llvm::StringRef() const { return GetStringRef(); }
- // Implicitly convert \class ConstString instances to \class
std::string_view.
- operator std::s
hjyamauchi wrote:
CC @compnerd
https://github.com/llvm/llvm-project/pull/84362
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
hjyamauchi wrote:
CC @compnerd
https://github.com/llvm/llvm-project/pull/84362
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
hjyamauchi wrote:
This demonstrates the Clang vs MSVC behavior difference:
https://godbolt.org/z/GvsdEM5r7
https://github.com/llvm/llvm-project/pull/84362
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
https://github.com/hjyamauchi created
https://github.com/llvm/llvm-project/pull/84362
MSVC fails when there is ambiguity (multiple options) around implicit type
conversion operators.
Make ConstString's conversion operator to string_view explicit to avoid
ambiguity with one to StringRef and re
Author: Hiroshi Yamauchi
Date: 2023-08-04T13:38:30-07:00
New Revision: e9040e875d9252f726c41579f70663154718c3c6
URL:
https://github.com/llvm/llvm-project/commit/e9040e875d9252f726c41579f70663154718c3c6
DIFF:
https://github.com/llvm/llvm-project/commit/e9040e875d9252f726c41579f70663154718c3c6.di